wordpress-develop/tests/phpunit/tests/user
John Blackbourn 44491ba49f Users: Ensure that users with no role on a site are taken into consideration when listing users on Multisite.
This ensures that users who are a member of a site but have no role are correctly listed on the Users screen and can be filtered from the 'None' role filter.

Props tobi823, flixos90, scottlee

Fixes #36196


git-svn-id: https://develop.svn.wordpress.org/trunk@41138 602fd350-edb4-49c9-b593-d223f7449a82
2017-07-25 00:23:44 +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 Avoid PHP notices when checking termmeta capabilities against a non-existent term. 2017-07-04 19:58:35 +00:00
countUserPosts.php Unit Tests: 2016-08-27 08:35:16 +00:00
countUsers.php Users: Ensure that users with no role on a site are taken into consideration when listing users on Multisite. 2017-07-25 00:23:44 +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 Mail: Ensure entities are decoded in email change notifications on Multisite. 2017-05-11 19:14:55 +00:00
query.php Allow user searches to match the display_name field. 2017-07-01 14:21:50 +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: Automatically skip tests in the ms-required and ms-excluded groups. 2017-05-01 20:34:10 +00:00
wpDeleteUser.php Build/Test Tools: Automatically skip tests in the ms-required and ms-excluded groups. 2017-05-01 20:34:10 +00:00
wpDropdownUsers.php Allow 'role' parameters to be passed to wp_dropdown_users(). 2016-09-25 17:44:24 +00:00
wpGetUsersWithNoRole.php Users: Ensure that users with no role on a site are taken into consideration when listing users on Multisite. 2017-07-25 00:23:44 +00:00
wpSetCurrentUser.php Unit Tests: 2016-08-27 08:35:16 +00:00