Follow-up r78452, r78497: having got my copy of phpunit working, fix test better.
authorHappy-melon <happy-melon@users.mediawiki.org>
Thu, 16 Dec 2010 18:06:08 +0000 (18:06 +0000)
committerHappy-melon <happy-melon@users.mediawiki.org>
Thu, 16 Dec 2010 18:06:08 +0000 (18:06 +0000)
tests/phpunit/includes/LicensesTest.php

index 2365fb6..e1daff7 100644 (file)
@@ -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,             
                ) );