Index: trunk/phase3/maintenance/tests/phpunit/includes/LicensesTest.php |
— | — | @@ -1,17 +1,14 @@ |
2 | 2 | <?php |
3 | 3 | |
4 | | -/** |
5 | | - * @group Broken |
6 | | - */ |
7 | 4 | class LicensesTest extends PHPUnit_Framework_TestCase { |
8 | 5 | |
9 | 6 | function testLicenses() { |
10 | 7 | $str = " |
11 | 8 | * Free licenses: |
12 | | -** GFLD|Debian disagrees |
| 9 | +** GFDL|Debian disagrees |
13 | 10 | "; |
14 | 11 | |
15 | | - $lc = new Licenses( $str ); |
| 12 | + $lc = new Licenses( array( 'licenses' => $str ) ); |
16 | 13 | $this->assertTrue( is_a( $lc, 'Licenses' ), 'Correct class' ); |
17 | 14 | } |
18 | | -} |
\ No newline at end of file |
| 15 | +} |