X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=tests%2Fphpunit%2Fincludes%2FLicensesTest.php;h=63b2c395bd8995cfef250d850e15b5fdcb863470;hb=6ab14151766918b9c7abf33580cdd64b9f9e79e4;hp=2365fb6f16d5c977622c1f63793905462fe39370;hpb=5b105a5d0d78bf323cc9e34e0901b2bd5600d6e2;p=lhc%2Fweb%2Fwiklou.git diff --git a/tests/phpunit/includes/LicensesTest.php b/tests/phpunit/includes/LicensesTest.php index 2365fb6f16..63b2c395bd 100644 --- a/tests/phpunit/includes/LicensesTest.php +++ b/tests/phpunit/includes/LicensesTest.php @@ -1,8 +1,11 @@ 'select', 'section' => 'description', 'id' => 'wpLicense', - 'label-message' => 'license', - 'name' => 'AnotherName', - 'licenses' => $str, + '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' ) ); }