Skip to content

Commit 5291f34

Browse files
committed
fixup! fixup! fixup! fixup! Update class names to align with PHPUnit expectation
1 parent 0a0311f commit 5291f34

File tree

7 files changed

+7
-7
lines changed

7 files changed

+7
-7
lines changed

tests/phpunit/tests/oembed/filterResult.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
/**
44
* @group oembed
55
*/
6-
class Tests_Filter_oEmbed_Result extends WP_UnitTestCase {
6+
class Tests_oEmbed_FilterResult extends WP_UnitTestCase {
77
public function test_filter_oembed_result_trusted_malicious_iframe() {
88
$html = '<p></p><iframe onload="alert(1)"></iframe>';
99

tests/phpunit/tests/oembed/filterTitleAttributes.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
/**
44
* @group oembed
55
*/
6-
class Tests_Filter_oEmbed_Iframe_Title_Attribute extends WP_UnitTestCase {
6+
class Tests_oEmbed_FilterTitleAttributes extends WP_UnitTestCase {
77
public function data_filter_oembed_iframe_title_attribute() {
88
return array(
99
array(

tests/phpunit/tests/oembed/getResponseData.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
* @group oembed
55
* @covers ::get_oembed_response_data
66
*/
7-
class Tests_oEmbed_Response_Data extends WP_UnitTestCase {
7+
class Tests_oEmbed_GetResponseData extends WP_UnitTestCase {
88
public function set_up() {
99
parent::set_up();
1010

tests/phpunit/tests/oembed/postEmbedUrl.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
/**
44
* @group oembed
55
*/
6-
class Tests_Post_Embed_URL extends WP_UnitTestCase {
6+
class Tests_oEmbed_PostEmbedURL extends WP_UnitTestCase {
77
public function test_non_existent_post() {
88
$embed_url = get_post_embed_url( 0 );
99
$this->assertFalse( $embed_url );

tests/phpunit/tests/post/wpGetAutoSave.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
/**
44
* @group post
55
*/
6-
class Tests_Post_wpGetPostAutosave extends WP_UnitTestCase {
6+
class Tests_Post_wpGetAutoSave extends WP_UnitTestCase {
77

88
/**
99
* Admin user ID.

tests/phpunit/tests/post/wpPostType.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
/**
44
* @group post
55
*/
6-
class Tests_Post_WP_Post_Type extends WP_UnitTestCase {
6+
class Tests_Post_WpPostType extends WP_UnitTestCase {
77
public function test_instances() {
88
global $wp_post_types;
99

tests/phpunit/tests/query/lazyLoadTermMeta.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
* @group taxonomy
66
* @group meta
77
*/
8-
class Test_Lazy_Load_Term_Meta extends WP_UnitTestCase {
8+
class Tests_LazyLoadTermMeta extends WP_UnitTestCase {
99
/**
1010
* @var array
1111
*/

0 commit comments

Comments
 (0)