r73954 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r73953‎ | r73954 | r73955 >
Date:16:20, 29 September 2010
Author:platonides
Status:ok
Tags:
Comment:
Fixed dummy test that only checks that the License object can be created.
Modified paths:
  • /trunk/phase3/maintenance/tests/phpunit/includes/LicensesTest.php (modified) (history)

Diff [purge]

Index: trunk/phase3/maintenance/tests/phpunit/includes/LicensesTest.php
@@ -1,17 +1,14 @@
22 <?php
33
4 -/**
5 - * @group Broken
6 - */
74 class LicensesTest extends PHPUnit_Framework_TestCase {
85
96 function testLicenses() {
107 $str = "
118 * Free licenses:
12 -** GFLD|Debian disagrees
 9+** GFDL|Debian disagrees
1310 ";
1411
15 - $lc = new Licenses( $str );
 12+ $lc = new Licenses( array( 'licenses' => $str ) );
1613 $this->assertTrue( is_a( $lc, 'Licenses' ), 'Correct class' );
1714 }
18 -}
\ No newline at end of file
 15+}

Status & tagging log