wordpress-develop/tests/phpunit/tests/user
Sergey Biryukov 5f8758953f Tests: Merge file-level and class-level DocBlocks in various unit test files.
Per the [https://developer.wordpress.org/coding-standards/inline-documentation-standards/php/#6-file-headers documentation standards], whenever possible, all WordPress files should contain a header DocBlock, regardless of the file’s contents – this includes files containing classes.

However, this recommendation makes less sense for unit test classes if not applied consistently, and the duplicate tags cause some confusion.

This commit aims to reduce confusion and avoid repeating information by combining the DocBlocks.

Follow-up to [40607], [43183], [43291], [43292], [43499], [43568], [44502], [44535], [44628], [44786], [44824], [44906], [44909], [46175].

Props wojtekn, antonvlasenko, arafatjamil01, hztyfoon, mukesh27, costdev, jamilbd07, robinwpdeveloper, SergeyBiryukov.
Fixes #57099.

git-svn-id: https://develop.svn.wordpress.org/trunk@55337 602fd350-edb4-49c9-b593-d223f7449a82
2023-02-14 16:10:13 +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 Tests: Correct references to set_up() and tear_down() in various DocBlocks. 2022-11-22 21:25:27 +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 Tests: Remove skipWithMultisite() and skipWithoutMultisite() from get_user_count() tests. 2022-10-29 15:42:26 +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
passwordHash.php Tests: Move PasswordHash test file to a more appropriate place. 2023-02-13 14:20:30 +00:00
query.php Coding Standards: Add visibility to methods in tests/phpunit/tests/. 2022-11-29 12:32:37 +00:00
retrievePassword.php Users: Fetch user by login in retrieve_password() if not found by email. 2022-10-11 13:43:20 +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: Merge file-level and class-level DocBlocks in various unit test files. 2023-02-14 16:10:13 +00:00
wpSetCurrentUser.php Tests: Rename classes in phpunit/tests/user/ per the naming conventions. 2022-06-11 15:48:31 +00:00