Tests: Rename classes in phpunit/tests/user/ per the naming conventions.

https://make.wordpress.org/core/handbook/testing/automated-testing/writing-phpunit-tests/#naming-and-organization

Follow-up to [47780], [48911], [49327], [50291], [50292], [50342], [50452], [50453], [50456], [50967], [50968], [50969], [51491], [51492], [51493], [51623], [51639], [51646], [51650], [51651], [51860], [52264], [52265].

See #55652.

git-svn-id: https://develop.svn.wordpress.org/trunk@53489 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Sergey Biryukov 2022-06-11 15:48:31 +00:00
parent be413a98e9
commit 32cbb46a21
9 changed files with 9 additions and 9 deletions

View File

@ -9,7 +9,7 @@ if ( is_multisite() ) :
* @group ms-user
* @group multisite
*/
class Tests_Multisite_getActiveBlogForUser extends WP_UnitTestCase {
class Tests_User_GetActiveBlogForUser extends WP_UnitTestCase {
public static $user_id = false;
public static function wpSetUpBeforeClass( WP_UnitTest_Factory $factory ) {

View File

@ -9,7 +9,7 @@ if ( is_multisite() ) :
* @group ms-user
* @group multisite
*/
class Tests_Multisite_User extends WP_UnitTestCase {
class Tests_User_Multisite extends WP_UnitTestCase {
public function test_remove_user_from_blog() {
$user1 = self::factory()->user->create_and_get();

View File

@ -3,7 +3,7 @@
/**
* @group user
*/
class Tests_User_WpAuthenticateSpamCheck extends WP_UnitTestCase {
class Tests_User_wpAuthenticateSpamCheck extends WP_UnitTestCase {
/**
* @group ms-excluded

View File

@ -3,7 +3,7 @@
/**
* @group user
*/
class Tests_User_WpDeleteUser extends WP_UnitTestCase {
class Tests_User_wpDeleteUser extends WP_UnitTestCase {
/**
* Test that usermeta cache is cleared after user deletion.

View File

@ -5,7 +5,7 @@
*
* @group user
*/
class Tests_User_WpDropdownUsers extends WP_UnitTestCase {
class Tests_User_wpDropdownUsers extends WP_UnitTestCase {
/**
* @ticket 31251

View File

@ -3,7 +3,7 @@
/**
* @group user
*/
class Tests_User_GetUsersWithNoRole extends WP_UnitTestCase {
class Tests_User_wpGetUsersWithNoRole extends WP_UnitTestCase {
/**
* @ticket 22993

View File

@ -4,7 +4,7 @@
*
* @covers ::wp_list_users
*/
class Tests_Functions_wpListUsers extends WP_UnitTestCase {
class Tests_User_wpListUsers extends WP_UnitTestCase {
private static $user_ids = array();
public static function wpSetUpBeforeClass( WP_UnitTest_Factory $factory ) {

View File

@ -15,7 +15,7 @@
* @group user
* @covers ::wp_send_user_request
*/
class Tests_User_WpSendUserRequest extends WP_UnitTestCase {
class Tests_User_wpSendUserRequest extends WP_UnitTestCase {
/**
* Test administrator user.

View File

@ -3,7 +3,7 @@
/**
* @group user
*/
class Tests_User_WpSetCurrentUser extends WP_UnitTestCase {
class Tests_User_wpSetCurrentUser extends WP_UnitTestCase {
protected static $user_id;
protected static $user_id2;
protected static $user_ids = array();