X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;ds=sidebyside;f=tests%2Fphpunit%2Fincludes%2FLicensesTest.php;h=c7b3ce897e432f9a42eb7eff396169acb30b2271;hb=b86ef89dd17f51841a220e8ef9b3b8b2402e2547;hp=63b2c395bd8995cfef250d850e15b5fdcb863470;hpb=be7ee7d714b63f8bf5c07944b7eab9f6af2d9a1d;p=lhc%2Fweb%2Fwiklou.git diff --git a/tests/phpunit/includes/LicensesTest.php b/tests/phpunit/includes/LicensesTest.php index 63b2c395bd..c7b3ce897e 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' ) ); } }