Skip to content

Commit f51ef8c

Browse files
committed
Tests: Remove @group annotations from abstract classes.
Labelling abstract classes with group annotations is misleading because they are not executed by PHPUnit without an actual test class extending them. See #63167. git-svn-id: https://develop.svn.wordpress.org/trunk@60770 602fd350-edb4-49c9-b593-d223f7449a82
1 parent bd4ea2c commit f51ef8c

File tree

3 files changed

+2
-6
lines changed

3 files changed

+2
-6
lines changed

tests/phpunit/tests/block-templates/base.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
<?php
22

33
/**
4-
* @group block-templates
54
* @covers ::get_template_hierarchy
65
*/
76
abstract class WP_Block_Templates_UnitTestCase extends WP_UnitTestCase {

tests/phpunit/tests/image/base.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?php
22

33
/**
4-
* @group image
4+
* Base class for testing image manipulation functionality.
55
*/
66
abstract class WP_Image_UnitTestCase extends WP_UnitTestCase {
77

tests/phpunit/tests/image/resize.php

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,7 @@
11
<?php
22

33
/**
4-
* @group image
5-
* @group media
6-
* @group upload
7-
* @group resize
4+
* Base class for testing image resize functionality.
85
*/
96
require_once __DIR__ . '/base.php';
107

0 commit comments

Comments
 (0)