Per wikitech-l discussion: Move tests from maintenance/tests/ to tests/. They're...
[lhc/web/wiklou.git] / tests / phpunit / includes / LicensesTest.php
1 <?php
2
3 class LicensesTest extends PHPUnit_Framework_TestCase {
4
5 function testLicenses() {
6 $str = "
7 * Free licenses:
8 ** GFDL|Debian disagrees
9 ";
10
11 $lc = new Licenses( array( 'licenses' => $str ) );
12 $this->assertThat( $lc, $this->isInstanceOf( 'Licenses' ) );
13 }
14 }