Add @coversNothing in places where @covers does not apply
[lhc/web/wiklou.git] / tests / phpunit / includes / api / ApiTestCase.php
index 6b299c9..f1ff947 100644 (file)
@@ -218,8 +218,11 @@ abstract class ApiTestCase extends MediaWikiLangTestCase {
                );
        }
 
+       /**
+        * @coversNothing
+        */
        public function testApiTestGroup() {
-               $groups = PHPUnit_Util_Test::getGroups( get_class( $this ) );
+               $groups = PHPUnit_Util_Test::getGroups( static::class );
                $constraint = PHPUnit_Framework_Assert::logicalOr(
                        $this->contains( 'medium' ),
                        $this->contains( 'large' )