Fixed dummy test that only checks that the License object can be created.
authorPlatonides <platonides@users.mediawiki.org>
Wed, 29 Sep 2010 16:20:41 +0000 (16:20 +0000)
committerPlatonides <platonides@users.mediawiki.org>
Wed, 29 Sep 2010 16:20:41 +0000 (16:20 +0000)
maintenance/tests/phpunit/includes/LicensesTest.php

index c5357f8..26437e4 100644 (file)
@@ -1,17 +1,14 @@
 <?php
 
-/**
- * @group Broken
- */
 class LicensesTest extends PHPUnit_Framework_TestCase {
 
        function testLicenses() {
                $str = "
 * Free licenses:
-** GFLD|Debian disagrees
+** GFDL|Debian disagrees
 ";
 
-               $lc = new Licenses( $str );
+               $lc = new Licenses( array( 'licenses' => $str ) );
                $this->assertTrue( is_a( $lc, 'Licenses' ), 'Correct class' );
        }
-}
\ No newline at end of file
+}