X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=tests%2Fphpunit%2Fincludes%2FLicensesTest.php;h=c7b3ce897e432f9a42eb7eff396169acb30b2271;hb=04efb9371175d413aeb5ed9965517d989621b457;hp=63b2c395bd8995cfef250d850e15b5fdcb863470;hpb=075b90235e86de663c000db2c90253509bb97375;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' ) ); } }