Index: trunk/phase3/tests/phpunit/includes/filerepo/FileRepoTest.php |
— | — | @@ -34,8 +34,12 @@ |
35 | 35 | function testFileRepoConstructionWithRequiredOptions() { |
36 | 36 | $f = new FileRepo( array( |
37 | 37 | 'name' => 'FileRepoTestRepository', |
38 | | - 'backend' => 'local-backend', |
39 | | - )); |
| 38 | + 'backend' => new FSFileBackend( array( |
| 39 | + 'name' => 'local-testing', |
| 40 | + 'lockManager' => 'nullLockManager', |
| 41 | + 'containerPaths' => array() |
| 42 | + ) ) |
| 43 | + ) ); |
40 | 44 | $this->assertInstanceOf( 'FileRepo', $f ); |
41 | 45 | } |
42 | 46 | } |