Add @covers for RemexStripTagHandler
[lhc/web/wiklou.git] / tests / phpunit / includes / LicensesTest.php
index 63b2c39..0e96bf4 100644 (file)
@@ -11,7 +11,7 @@ class LicensesTest extends MediaWikiTestCase {
 ** GFDL|Debian disagrees
 ";
 
-               $lc = new Licenses( array(
+               $lc = new Licenses( [
                        'fieldname' => 'FooField',
                        'type' => 'select',
                        'section' => 'description',
@@ -19,7 +19,7 @@ class LicensesTest extends MediaWikiTestCase {
                        'label' => 'A label text', # Note can't test label-message because $wgOut is not defined
                        'name' => 'AnotherName',
                        'licenses' => $str,
-               ) );
-               $this->assertThat( $lc, $this->isInstanceOf( 'Licenses' ) );
+               ] );
+               $this->assertThat( $lc, $this->isInstanceOf( Licenses::class ) );
        }
 }