Test: Don't skip the tests intended for single site when running on Multisite, add them to the ms-excluded group instead.

See #39776, #45747.

git-svn-id: https://develop.svn.wordpress.org/trunk@46683 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Sergey Biryukov
2019-11-09 03:44:51 +00:00
parent fcf86b80b6
commit 243d1a2e38
2 changed files with 2 additions and 9 deletions
+1 -4
View File
@@ -576,12 +576,9 @@ class Tests_User extends WP_UnitTestCase {
/**
* @ticket 45747
* @group ms-excluded
*/
function test_wp_update_user_should_not_mark_user_as_spam_on_single_site() {
if ( is_multisite() ) {
$this->markTestSkipped( 'This test is intended for single site.' );
}
$u = wp_update_user(
array(
'ID' => self::$contrib_id,