Merge "Change space to non-breaking space to keep headers aligned"
[lhc/web/wiklou.git] / tests / phpunit / includes / LicensesTest.php
index 2365fb6..212b3b3 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 
-class LicensesTest extends PHPUnit_Framework_TestCase {
+class LicensesTest extends MediaWikiTestCase {
 
        function testLicenses() {
                $str = "
@@ -13,9 +13,9 @@ class LicensesTest extends PHPUnit_Framework_TestCase {
                        'type' => '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' ) );
        }