X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=tests%2Fphpunit%2Fincludes%2FLicensesTest.php;h=0e96bf44eec52ce1a313868ead985fa4329f4c30;hb=4eff5204d9ec6eb09df70d2fe017a2146cfa4238;hp=63b2c395bd8995cfef250d850e15b5fdcb863470;hpb=1068762721c3fb9edf751fa0eb9bd2b134161f91;p=lhc%2Fweb%2Fwiklou.git diff --git a/tests/phpunit/includes/LicensesTest.php b/tests/phpunit/includes/LicensesTest.php index 63b2c395bd..0e96bf44ee 100644 --- a/tests/phpunit/includes/LicensesTest.php +++ b/tests/phpunit/includes/LicensesTest.php @@ -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 ) ); } }