Index: trunk/phase3/tests/phpunit/includes/filerepo/FileRepoTest.php |
— | — | @@ -31,4 +31,11 @@ |
32 | 32 | ) ); |
33 | 33 | } |
34 | 34 | |
| 35 | + function testFileRepoConstructionWithRequiredOptions() { |
| 36 | + $f = new FileRepo( array( |
| 37 | + 'name' => 'FileRepoTestRepository', |
| 38 | + 'backend' => 'local-backend', |
| 39 | + )); |
| 40 | + $this->assertInstanceOf( 'FileRepo', $f ); |
| 41 | + } |
35 | 42 | } |