Tests: Rename classes in phpunit/tests/multisite/ 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].

See #53363.

git-svn-id: https://develop.svn.wordpress.org/trunk@51860 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Sergey Biryukov 2021-09-24 00:45:43 +00:00
parent 80a345f5b2
commit 3546c694e9
20 changed files with 20 additions and 20 deletions

View File

@ -8,7 +8,7 @@ if ( is_multisite() ) :
* @ticket 19879
* @group multisite
*/
class Tests_Multisite_Dirsize_Cache extends WP_UnitTestCase {
class Tests_Multisite_CleanDirsizeCache extends WP_UnitTestCase {
protected $suppress = false;
function set_up() {

View File

@ -7,7 +7,7 @@ if ( is_multisite() ) :
* @group ms-site
* @group multisite
*/
class Tests_Multisite_Get_Blog_Details extends WP_UnitTestCase {
class Tests_Multisite_GetBlogDetails extends WP_UnitTestCase {
protected static $network_ids;
protected static $site_ids;

View File

@ -8,7 +8,7 @@ if ( is_multisite() ) :
* @group ms-site
* @group multisite
*/
class Tests_Multisite_Get_Id_From_Blogname extends WP_UnitTestCase {
class Tests_Multisite_GetIdFromBlogname extends WP_UnitTestCase {
protected static $network_ids;
protected static $site_ids;

View File

@ -8,7 +8,7 @@ if ( is_multisite() ) :
* @group ms-site
* @group multisite
*/
class Tests_Multisite_Get_Main_Site_ID extends WP_UnitTestCase {
class Tests_Multisite_GetMainSiteId extends WP_UnitTestCase {
protected static $network_ids;
protected static $site_ids;

View File

@ -7,7 +7,7 @@ if ( is_multisite() ) :
* @group ms-site
* @group multisite
*/
class Tests_Multisite_Get_Site extends WP_UnitTestCase {
class Tests_Multisite_GetSite extends WP_UnitTestCase {
protected static $site_ids;
public static function wpSetUpBeforeClass( WP_UnitTest_Factory $factory ) {

View File

@ -7,7 +7,7 @@ if ( is_multisite() ) :
*
* @group multisite
*/
class Tests_Multisite_Get_Space_Allowed extends WP_UnitTestCase {
class Tests_Multisite_GetSpaceAllowed extends WP_UnitTestCase {
protected $suppress = false;
public function set_up() {

View File

@ -6,7 +6,7 @@ if ( is_multisite() ) :
* @group multisite
* @covers ::get_space_used
*/
class Tests_Multisite_Get_Space_Used extends WP_UnitTestCase {
class Tests_Multisite_GetSpaceUsed extends WP_UnitTestCase {
protected $suppress = false;
function set_up() {

View File

@ -10,7 +10,7 @@ if ( is_multisite() ) :
*
* @group multisite
*/
class Tests_Multisite_Is_Upload_Space_Available extends WP_UnitTestCase {
class Tests_Multisite_IsUploadSpaceAvailable extends WP_UnitTestCase {
protected $suppress = false;
public function set_up() {

View File

@ -11,7 +11,7 @@ if ( is_multisite() ) :
* @group ms-files
* @group multisite
*/
class Tests_Multisite_MS_Files_Rewriting extends WP_UnitTestCase {
class Tests_Multisite_msFilesRewriting extends WP_UnitTestCase {
protected $suppress = false;
function set_up() {

View File

@ -7,7 +7,7 @@ if ( is_multisite() ) :
* @group ms-site
* @group multisite
*/
class Tests_Multisite_Site_Details extends WP_UnitTestCase {
class Tests_Multisite_SiteDetails extends WP_UnitTestCase {
/**
* @dataProvider data_allowed_options
*

View File

@ -8,7 +8,7 @@ if ( is_multisite() ) :
* @group meta
* @ticket 37923
*/
class Tests_Multisite_Site_Meta extends WP_UnitTestCase {
class Tests_Multisite_SiteMeta extends WP_UnitTestCase {
protected static $site_id;
protected static $site_id2;
protected static $flag_was_set;

View File

@ -6,7 +6,7 @@ if ( is_multisite() ) :
* @group ms-site
* @group multisite
*/
class Tests_Multisite_Update_Blog_Details extends WP_UnitTestCase {
class Tests_Multisite_UpdateBlogDetails extends WP_UnitTestCase {
/**
* If `update_blog_details()` is called with any kind of empty arguments, it
* should return false.

View File

@ -10,7 +10,7 @@ if ( is_multisite() ) :
*
* @group multisite
*/
class Tests_Multisite_Upload_Is_User_Over_Quota extends WP_UnitTestCase {
class Tests_Multisite_UploadIsUserOverQuota extends WP_UnitTestCase {
protected $suppress = false;
public function set_up() {

View File

@ -7,7 +7,7 @@ if ( is_multisite() ) :
* @group ms-site
* @group multisite
*/
class Tests_Multisite_WP_Get_Sites extends WP_UnitTestCase {
class Tests_Multisite_wpGetSites extends WP_UnitTestCase {
protected static $site_ids;
public static function wpSetUpBeforeClass( WP_UnitTest_Factory $factory ) {

View File

@ -8,7 +8,7 @@ if ( is_multisite() ) :
* @group ms-site
* @group multisite
*/
class Tests_Multisite_Install_Defaults extends WP_UnitTestCase {
class Tests_Multisite_wpInstallDefaults extends WP_UnitTestCase {
/**
* @ticket 40036
*/

View File

@ -6,7 +6,7 @@ if ( is_multisite() ) :
* @group admin
* @group network-admin
*/
class Tests_WP_MS_Sites_List_Table extends WP_UnitTestCase {
class Tests_Multisite_wpMsSitesListTable extends WP_UnitTestCase {
protected static $site_ids;
/**

View File

@ -9,7 +9,7 @@ if ( is_multisite() ) :
* @group ms-network-query
* @group multisite
*/
class Tests_Multisite_Network_Query extends WP_UnitTestCase {
class Tests_Multisite_wpNetworkQuery extends WP_UnitTestCase {
protected static $network_ids;
protected $suppress = false;

View File

@ -8,7 +8,7 @@ if ( is_multisite() ) :
* @group ms-site
* @group multisite
*/
class Tests_Multisite_Site_Query extends WP_UnitTestCase {
class Tests_Multisite_wpSiteQuery extends WP_UnitTestCase {
protected static $network_ids;
protected static $site_ids;

View File

@ -5,7 +5,7 @@ if ( is_multisite() ) :
/**
* @group multisite
*/
class Tests_Multisite_WpmuValidateBlogSignup extends WP_UnitTestCase {
class Tests_Multisite_wpmuValidateBlogSignup extends WP_UnitTestCase {
protected static $super_admin_id;
protected static $existing_user_login = 'existinguserfoo';

View File

@ -5,7 +5,7 @@ if ( is_multisite() ) :
/**
* @group multisite
*/
class Tests_Multisite_WpmuValidateUserSignup extends WP_UnitTestCase {
class Tests_Multisite_wpmuValidateUserSignup extends WP_UnitTestCase {
/**
* @dataProvider data_user_name
*/