Merge "Fix RevisionStorageTest with non-wikitext NS_MAIN"
[lhc/web/wiklou.git] / tests / phpunit / includes / LicensesTest.php
index 2365fb6..e467f3c 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 
-class LicensesTest extends PHPUnit_Framework_TestCase {
+class LicensesTest extends MediaWikiTestCase {
 
        function testLicenses() {
                $str = "
@@ -13,7 +13,7 @@ class LicensesTest extends PHPUnit_Framework_TestCase {
                        'type' => 'select',
                        'section' => 'description',
                        'id' => 'wpLicense',
-                       'label-message' => 'license',
+                       'label' => 'A label text', # Note can't test label-message because $wgOut is not defined
                        'name' => 'AnotherName', 
                        'licenses' => $str,             
                ) );