mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2025-10-16 12:05:38 +00:00
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:
parent
be413a98e9
commit
32cbb46a21
@ -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 ) {
|
||||
|
||||
@ -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();
|
||||
|
||||
@ -3,7 +3,7 @@
|
||||
/**
|
||||
* @group user
|
||||
*/
|
||||
class Tests_User_WpAuthenticateSpamCheck extends WP_UnitTestCase {
|
||||
class Tests_User_wpAuthenticateSpamCheck extends WP_UnitTestCase {
|
||||
|
||||
/**
|
||||
* @group ms-excluded
|
||||
|
||||
@ -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.
|
||||
|
||||
@ -5,7 +5,7 @@
|
||||
*
|
||||
* @group user
|
||||
*/
|
||||
class Tests_User_WpDropdownUsers extends WP_UnitTestCase {
|
||||
class Tests_User_wpDropdownUsers extends WP_UnitTestCase {
|
||||
|
||||
/**
|
||||
* @ticket 31251
|
||||
|
||||
@ -3,7 +3,7 @@
|
||||
/**
|
||||
* @group user
|
||||
*/
|
||||
class Tests_User_GetUsersWithNoRole extends WP_UnitTestCase {
|
||||
class Tests_User_wpGetUsersWithNoRole extends WP_UnitTestCase {
|
||||
|
||||
/**
|
||||
* @ticket 22993
|
||||
|
||||
@ -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 ) {
|
||||
|
||||
@ -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.
|
||||
|
||||
@ -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();
|
||||
|
||||
Loading…
Reference in New Issue
Block a user