wordpress-develop/tests/phpunit/tests/user
John Blackbourn 64f8351da1 Build/Test Tools: Introduce skipWithoutMultisite() and skipWithMultisite() methods into the test suite.
This brings much needed uniformity to test skipping when a test requires Multisite or when a test should be excluded from running when Multisite is enabled.

Used in conjunction with the `@group ms-required` and `@group ms-excluded` notation, this removes a significant number of skipped tests from the default test suite run.

Fixes #40531


git-svn-id: https://develop.svn.wordpress.org/trunk@40543 602fd350-edb4-49c9-b593-d223f7449a82
2017-04-23 21:57:31 +00:00
..
author.php Build/Test Tools: Re-use a bunch of fixtures in test classes for user and XMLRPC tests. 2016-11-10 01:53:08 +00:00
capabilities.php Build/Test Tools: Introduce skipWithoutMultisite() and skipWithMultisite() methods into the test suite. 2017-04-23 21:57:31 +00:00
countUserPosts.php Unit Tests: 2016-08-27 08:35:16 +00:00
countUsers.php Build/Test Tools: Introduce skipWithoutMultisite() and skipWithMultisite() methods into the test suite. 2017-04-23 21:57:31 +00:00
dateQuery.php Unit Tests: after [35225], make factory a method/getter on WP_UnitTestCase and add magic methods for BC for every plugin that is extending WP_UnitTestCase and accessing the $factory instance prop. 2015-10-17 18:02:16 +00:00
getActiveBlogForUser.php Multisite: Introduce tests for get_active_blog_for_user(). 2016-10-25 18:02:08 +00:00
listAuthors.php Unit Tests: 2016-08-27 08:35:16 +00:00
mapMetaCap.php Build/Test Tools: Replace test skipping with actual assertions when dealing with the DISALLOW_UNFILTERED_HTML, DISALLOW_FILE_MODS, and DISALLOW_FILE_EDIT constants. 2017-04-22 20:12:29 +00:00
multisite.php Roles/Capabilities: Add a new wp_roles_init filter. 2016-11-02 00:30:29 +00:00
query.php Build/Test Tools: Introduce skipWithoutMultisite() and skipWithMultisite() methods into the test suite. 2017-04-23 21:57:31 +00:00
session.php Unit Tests: after [35225], make factory a method/getter on WP_UnitTestCase and add magic methods for BC for every plugin that is extending WP_UnitTestCase and accessing the $factory instance prop. 2015-10-17 18:02:16 +00:00
slashes.php Unit Tests: WP_UnitTest_Generator_Sequence needs a static incrementer - otherwise, it assumes every test class is a reset, which it no longer is (it is now static). 2015-10-17 19:24:20 +00:00
updateUserCaches.php Unit Tests: after [35225], make factory a method/getter on WP_UnitTestCase and add magic methods for BC for every plugin that is extending WP_UnitTestCase and accessing the $factory instance prop. 2015-10-17 18:02:16 +00:00
wpAuthenticateSpamCheck.php Build/Test Tools: Introduce skipWithoutMultisite() and skipWithMultisite() methods into the test suite. 2017-04-23 21:57:31 +00:00
wpDeleteUser.php Build/Test Tools: Introduce skipWithoutMultisite() and skipWithMultisite() methods into the test suite. 2017-04-23 21:57:31 +00:00
wpDropdownUsers.php Allow 'role' parameters to be passed to wp_dropdown_users(). 2016-09-25 17:44:24 +00:00
wpGetUsersWithNoRole.php Build/Test Tools: Introduce skipWithoutMultisite() and skipWithMultisite() methods into the test suite. 2017-04-23 21:57:31 +00:00
wpSetCurrentUser.php Unit Tests: 2016-08-27 08:35:16 +00:00