Index: trunk/phase3/tests/phpunit/includes/LicensesTest.php |
— | — | @@ -8,7 +8,15 @@ |
9 | 9 | ** GFDL|Debian disagrees |
10 | 10 | "; |
11 | 11 | |
12 | | - $lc = new Licenses( array( 'licenses' => $str ) ); |
| 12 | + $lc = new Licenses( array( |
| 13 | + 'fieldname' => 'FooField', |
| 14 | + 'type' => 'select', |
| 15 | + 'section' => 'description', |
| 16 | + 'id' => 'wpLicense', |
| 17 | + 'label-message' => 'license', |
| 18 | + 'name' => 'AnotherName', |
| 19 | + 'licenses' => $str, |
| 20 | + ) ); |
13 | 21 | $this->assertThat( $lc, $this->isInstanceOf( 'Licenses' ) ); |
14 | 22 | } |
15 | 23 | } |