Merge "Add filter to `Special:BlockList` to exclude indefinite blocks"
[lhc/web/wiklou.git] / tests / phpunit / MediaWikiCoversValidator.php
index a79a139..ce3f2e2 100644 (file)
@@ -33,7 +33,7 @@ trait MediaWikiCoversValidator {
         */
        public function testValidCovers() {
                $methods = get_class_methods( $this );
-               $class = get_class( $this );
+               $class = static::class;
                $bad = '';
                foreach ( $methods as $method ) {
                        if ( strpos( $method, 'test' ) === 0 ) {