wordpress-develop/tests/phpunit/tests/user
Jonathan Desrosiers 28fdf705dc Tests: Replace some occurrences of assertEquals() with assertSame().
This ensures that not only the return values match the expected results, but also that their type is the same.

Props costdev, desrosj.
See #55654.

git-svn-id: https://develop.svn.wordpress.org/trunk@54402 602fd350-edb4-49c9-b593-d223f7449a82
2022-10-07 01:02:07 +00:00
..
author.php Tests: Update the terminology used for action or filter names in MockAction class. 2022-07-31 16:25:27 +00:00
capabilities.php Role/Capability: Add a new update_role function. 2022-09-19 20:47:22 +00:00
countUserPosts.php Tests: Replace some occurrences of assertEquals() with assertSame(). 2022-10-07 01:02:07 +00:00
countUsers.php Tests: Replace some occurrences of assertEquals() with assertSame(). 2022-10-07 01:02:07 +00:00
dateQuery.php Tests: Introduce assertSameSets() and assertSameSetsWithIndex(), and use them where appropriate. 2020-09-04 07:01:00 +00:00
getActiveBlogForUser.php Tests: Rename classes in phpunit/tests/user/ per the naming conventions. 2022-06-11 15:48:31 +00:00
getUserCount.php Cache API: Validate cache key in WP_Object_Cache methods. 2022-08-03 14:34:58 +00:00
mapMetaCap.php Users: Fail gracefully when checking mapped capabilities without providing the required object ID. 2022-05-17 18:59:24 +00:00
multisite.php Tests: Rename classes in phpunit/tests/user/ per the naming conventions. 2022-06-11 15:48:31 +00:00
query.php Tests: Replace some occurrences of assertEquals() with assertSame(). 2022-10-07 01:02:07 +00:00
retrievePassword.php Docs: Further update the send_retrieve_password_email filter documentation for consistency. 2022-01-19 13:16:44 +00:00
session.php Code Modernization: Explicitly declare all properties created in set_up() methods of various test classes. 2022-08-27 12:30:08 +00:00
slashes.php Cache API: Validate cache key in WP_Object_Cache methods. 2022-08-03 14:34:58 +00:00
updateUserCaches.php Tests: Use assertInstanceOf() instead of assertTrue() in some tests. 2021-05-18 21:04:31 +00:00
wpAuthenticateSpamCheck.php Tests: Rename classes in phpunit/tests/user/ per the naming conventions. 2022-06-11 15:48:31 +00:00
wpDeleteUser.php Tests: Rename classes in phpunit/tests/user/ per the naming conventions. 2022-06-11 15:48:31 +00:00
wpDropdownUsers.php Tests: Use the factory method instead of the property. 2022-09-06 22:09:49 +00:00
wpGetUsersWithNoRole.php Tests: Rename classes in phpunit/tests/user/ per the naming conventions. 2022-06-11 15:48:31 +00:00
wpListAuthors.php Tests: Re-initialize WP_Rewrite before running wp_list_authors() tests. 2022-06-11 15:34:35 +00:00
wpListUsers.php Tests: Rename classes in phpunit/tests/user/ per the naming conventions. 2022-06-11 15:48:31 +00:00
wpRegisterPersistedPreferencesMeta.php Users: Correctly pass the context property for persisted preferences. 2022-09-27 15:21:48 +00:00
wpSendUserRequest.php Tests: Rename classes in phpunit/tests/user/ per the naming conventions. 2022-06-11 15:48:31 +00:00
wpSetCurrentUser.php Tests: Rename classes in phpunit/tests/user/ per the naming conventions. 2022-06-11 15:48:31 +00:00