Follow-up r78452: if you're going to try and declare an HTMLFormField without 80...
[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(
12 'fieldname' => 'FooField',
13 'type' => 'select',
14 'section' => 'description',
15 'id' => 'wpLicense',
16 'label-message' => 'license',
17 'name' => 'AnotherName',
18 'licenses' => $str,
19 ) );
20 $this->assertThat( $lc, $this->isInstanceOf( 'Licenses' ) );
21 }
22 }