From caf86dc8492f5cb559eea798d1d611ca7675afb8 Mon Sep 17 00:00:00 2001 From: John Blackbourn Date: Sat, 22 Apr 2017 19:21:11 +0000 Subject: [PATCH] Build/Test Tools: Add some more tests to the `ms-required` and `ms-excluded` groups. See #40531 git-svn-id: https://develop.svn.wordpress.org/trunk@40522 602fd350-edb4-49c9-b593-d223f7449a82 --- tests/phpunit/tests/functions.php | 1 + tests/phpunit/tests/user/wpGetUsersWithNoRole.php | 2 ++ 2 files changed, 3 insertions(+) diff --git a/tests/phpunit/tests/functions.php b/tests/phpunit/tests/functions.php index 47704f8036..5c5d31a073 100644 --- a/tests/phpunit/tests/functions.php +++ b/tests/phpunit/tests/functions.php @@ -941,6 +941,7 @@ class Tests_Functions extends WP_UnitTestCase { /** * @ticket 39550 + * @group ms-excluded */ function test_wp_check_filetype_and_ext_with_filtered_svg() { if ( ! extension_loaded( 'fileinfo' ) ) { diff --git a/tests/phpunit/tests/user/wpGetUsersWithNoRole.php b/tests/phpunit/tests/user/wpGetUsersWithNoRole.php index cd7b118676..1a7535f623 100644 --- a/tests/phpunit/tests/user/wpGetUsersWithNoRole.php +++ b/tests/phpunit/tests/user/wpGetUsersWithNoRole.php @@ -7,6 +7,7 @@ class Tests_User_GetUsersWithNoRole extends WP_UnitTestCase { /** * @ticket 22993 + * @group ms-excluded */ public function test_get_users_with_no_role_is_accurate() { @@ -41,6 +42,7 @@ class Tests_User_GetUsersWithNoRole extends WP_UnitTestCase { /** * @ticket 22993 * @group multisite + * @group ms-required */ public function test_get_users_with_no_role_multisite_is_accurate() {