X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=blobdiff_plain;f=tests%2Fphpunit%2Fincludes%2FLicensesTest.php;h=0e96bf44eec52ce1a313868ead985fa4329f4c30;hp=63b2c395bd8995cfef250d850e15b5fdcb863470;hb=2ab7ae9d24009f8cd7555cdbd15c9a852b1cc4db;hpb=7ab94d37bb200481a929edd03f6cf3279efbf224 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 ) ); } }