Skip to content

Commit 1b913eb

Browse files
committed
Update class names to align with PHPUnit expectation
1 parent 4a8e322 commit 1b913eb

File tree

11 files changed

+11
-11
lines changed

11 files changed

+11
-11
lines changed

tests/phpunit/tests/admin/themeBodyClass.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
/**
44
* @group admin
55
*/
6-
class Tests_Admin_Theme_Body_Class extends WP_UnitTestCase {
6+
class Tests_Admin_ThemeBodyClass extends WP_UnitTestCase {
77
protected static $admin_user;
88
protected $original_theme;
99

tests/phpunit/tests/block-bindings/postMetaSource.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
* @group blocks
1010
* @group block-bindings
1111
*/
12-
class Tests_Block_Bindings_Post_Meta_Source extends WP_UnitTestCase {
12+
class Tests_Block_Bindings_PostMetaSource extends WP_UnitTestCase {
1313
protected static $post;
1414
protected static $wp_meta_keys_saved;
1515

tests/phpunit/tests/block-processor/wpBlockProcessor.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
*
1212
* @coversDefaultClass WP_Block_Processor
1313
*/
14-
class Tests_Blocks_BlockProcessor extends WP_UnitTestCase {
14+
class Tests_Blocks_WpBlockProcessor extends WP_UnitTestCase {
1515
/**
1616
* Verifies that no block delimiters are found in an empty string.
1717
*

tests/phpunit/tests/blocks/getBlockAssetUrl.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
* @group blocks
1111
* @covers ::get_block_asset_url
1212
*/
13-
class Tests_Get_Block_Asset_Url extends WP_UnitTestCase {
13+
class Tests_GetBlockAssetUrl extends WP_UnitTestCase {
1414
/**
1515
* Original theme directory.
1616
*

tests/phpunit/tests/functions/isNewDay.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
*
99
* @covers ::is_new_day
1010
*/
11-
class Tests_Functions_IsNewDate extends WP_UnitTestCase {
11+
class Tests_Functions_IsNewDay extends WP_UnitTestCase {
1212

1313
/**
1414
* @ticket 46627

tests/phpunit/tests/image/resizeGd.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
*/
1212
require_once __DIR__ . '/resize.php';
1313

14-
class Test_Image_Resize_GD extends WP_Tests_Image_Resize_UnitTestCase {
14+
class Test_Image_ResizeGD extends WP_Tests_Image_Resize_UnitTestCase {
1515

1616
/**
1717
* Use the GD image editor engine

tests/phpunit/tests/image/siteIcon.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
require_once ABSPATH . 'wp-admin/includes/class-wp-site-icon.php';
99

10-
class Tests_WP_Site_Icon extends WP_UnitTestCase {
10+
class Test_Image_SiteIcon extends WP_UnitTestCase {
1111
protected $wp_site_icon;
1212

1313
public $attachment_id = 0;

tests/phpunit/tests/pomo/pluralForms.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
/**
44
* @group pomo
55
*/
6-
class PluralFormsTest extends WP_UnitTestCase {
6+
class Tests_PluralForms extends WP_UnitTestCase {
77
/**
88
* Parenthesize plural expression.
99
*

tests/phpunit/tests/term/taxQuery.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
/**
44
* @group taxonomy
55
*/
6-
class Tests_Term_Tax_Query extends WP_UnitTestCase {
6+
class Tests_Term_TaxQuery extends WP_UnitTestCase {
77
protected $q;
88

99
public function set_up() {

tests/phpunit/tests/unicode/wpIsValidUtf8.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
* @group unicode
77
*/
88

9-
class Tests_WpIsValidUtf8TestCase extends WP_UnitTestCase {
9+
class Tests_WpIsValidUtf8 extends WP_UnitTestCase {
1010
/**
1111
* Verifies that WordPress can properly detect valid and invalid UTF-8.
1212
*

0 commit comments

Comments
 (0)