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

See #53363.

git-svn-id: https://develop.svn.wordpress.org/trunk@51639 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Sergey Biryukov 2021-08-19 13:08:43 +00:00
parent 05f28947e7
commit e20beacb6e
11 changed files with 12 additions and 12 deletions

View File

@ -4,7 +4,7 @@
* @group file
* @group admin
*/
class Tests_Admin_includesFile extends WP_UnitTestCase {
class Tests_Admin_IncludesFile extends WP_UnitTestCase {
/**
* @ticket 20449

View File

@ -3,7 +3,7 @@
/**
* @group admin
*/
class Tests_Admin_includesListTable extends WP_UnitTestCase {
class Tests_Admin_IncludesListTable extends WP_UnitTestCase {
protected static $top = array();
protected static $children = array();
protected static $grandchildren = array();

View File

@ -3,7 +3,7 @@
/**
* @group admin
*/
class Tests_Admin_includesMisc extends WP_UnitTestCase {
class Tests_Admin_IncludesMisc extends WP_UnitTestCase {
function test_shorten_url() {
$tests = array(
'wordpress\.org/about/philosophy'

View File

@ -3,7 +3,7 @@
* @group plugins
* @group admin
*/
class Tests_Admin_includesPlugin extends WP_UnitTestCase {
class Tests_Admin_IncludesPlugin extends WP_UnitTestCase {
public static function wpSetUpBeforeClass( $factory ) {
self::_back_up_mu_plugins();
}

View File

@ -3,7 +3,7 @@
/**
* @group admin
*/
class Tests_Admin_Includes_Post extends WP_UnitTestCase {
class Tests_Admin_IncludesPost extends WP_UnitTestCase {
protected static $contributor_id;
protected static $author_ids;
protected static $editor_id;

View File

@ -3,7 +3,7 @@
/**
* @group admin
*/
class Tests_Admin_Includes_Schema extends WP_UnitTestCase {
class Tests_Admin_IncludesSchema extends WP_UnitTestCase {
private static $options;
private static $blogmeta;

View File

@ -4,7 +4,7 @@
* @group admin
* @group adminScreen
*/
class Tests_Admin_includesScreen extends WP_UnitTestCase {
class Tests_Admin_IncludesScreen extends WP_UnitTestCase {
public $core_screens = array(
'index.php' => array(
'base' => 'dashboard',

View File

@ -2,7 +2,7 @@
/**
* @group admin
*/
class Tests_Admin_includesTemplate extends WP_UnitTestCase {
class Tests_Admin_IncludesTemplate extends WP_UnitTestCase {
/**
* @ticket 51147

View File

@ -2,7 +2,7 @@
/**
* @group themes
*/
class Tests_Admin_includesTheme extends WP_UnitTestCase {
class Tests_Admin_IncludesTheme extends WP_UnitTestCase {
function set_up() {
parent::set_up();

View File

@ -8,14 +8,14 @@
*/
/**
* Class Test_WP_Community_Events.
* Class Tests_Admin_wpCommunityEvents.
*
* @group admin
* @group community-events
*
* @since 4.8.0
*/
class Test_WP_Community_Events extends WP_UnitTestCase {
class Tests_Admin_wpCommunityEvents extends WP_UnitTestCase {
/**
* An instance of the class to test.
*

View File

@ -3,7 +3,7 @@
/**
* @group admin
*/
class Tests_Admin_includesMediaListTable extends WP_UnitTestCase {
class Tests_Admin_wpMediaListTable extends WP_UnitTestCase {
public static function set_up_before_class() {
parent::set_up_before_class();