Skip to content

Commit 959629a

Browse files
committed
fixup! Update class names to align with PHPUnit expectation
1 parent 1b913eb commit 959629a

File tree

10 files changed

+10
-10
lines changed

10 files changed

+10
-10
lines changed

tests/phpunit/tests/category/walkerCategory.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
*
77
* @covers Walker_Category::start_el
88
*/
9-
class Tests_Category_Walker_Category extends WP_UnitTestCase {
9+
class Tests_Category_WalkerCategory extends WP_UnitTestCase {
1010

1111
/**
1212
* @var \Walker_Category The instance of the walker.

tests/phpunit/tests/rest-api/wpIsRestEndpoint.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
* @group restapi
77
* @covers ::wp_is_rest_endpoint
88
*/
9-
class Tests_Media_Wp_Is_Rest_Endpoint extends WP_UnitTestCase {
9+
class Tests_Media_WpIsRestEndpoint extends WP_UnitTestCase {
1010

1111
/**
1212
* Tests that `wp_is_rest_endpoint()` returns false by default.

tests/phpunit/tests/rewrite/rewriteTags.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
/**
44
* @group rewrite
55
*/
6-
class Tests_Rewrite_Tags extends WP_UnitTestCase {
6+
class Tests_RewriteTags extends WP_UnitTestCase {
77
protected $rewritecode;
88
protected $rewritereplace;
99
protected $queryreplace;

tests/phpunit/tests/style-engine/styleEngine.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
/**
1313
* Tests for registering, storing and generating styles.
1414
*/
15-
class Tests_wpStyleEngine extends WP_UnitTestCase {
15+
class Tests_StyleEngine extends WP_UnitTestCase {
1616
/**
1717
* Tests generating block styles and classnames based on various manifestations of the $block_styles argument.
1818
*

tests/phpunit/tests/term/getTermParentsList.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_Terms_GetTermsParentsList extends WP_UnitTestCase {
6+
class Tests_Terms_GetTermParentsList extends WP_UnitTestCase {
77
protected static $c1;
88
protected static $c2;
99

tests/phpunit/tests/term/termCounts.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_termCount extends WP_UnitTestCase {
6+
class Tests_Term_TermCounts extends WP_UnitTestCase {
77

88
/**
99
* Term ID for testing attachment counts.

tests/phpunit/tests/term/wpGenerateTagCloud.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
/**
33
* @group taxonomy
44
*/
5-
class Tests_WP_Generate_Tag_Cloud extends WP_UnitTestCase {
5+
class Tests_WpGenerateTagCloud extends WP_UnitTestCase {
66
protected $terms = array();
77

88
/**

tests/phpunit/tests/term/wpTaxonomy.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_WP_Taxonomy extends WP_UnitTestCase {
6+
class Tests_WpTaxonomy extends WP_UnitTestCase {
77
public function test_instances() {
88
global $wp_taxonomies;
99

tests/phpunit/tests/theme/autoloadThemeMods.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
*
1111
* @group themes
1212
*/
13-
class Tests_Autoload_Theme_Mods extends WP_Theme_UnitTestCase {
13+
class Tests_AutoloadThemeMods extends WP_Theme_UnitTestCase {
1414

1515
/**
1616
* Tests that theme mods should not autoloaded after switch_theme.

tests/phpunit/tests/user/queryCache.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
*
77
* @coversDefaultClass WP_User_Query
88
*/
9-
class Tests_User_Query_Cache extends WP_UnitTestCase {
9+
class Tests_QueryCache extends WP_UnitTestCase {
1010
/**
1111
* @var int[]
1212
*/

0 commit comments

Comments
 (0)