diff options
Diffstat (limited to 'tests/phpunit/includes/filerepo/FileBackendTest.php')
-rw-r--r-- | tests/phpunit/includes/filerepo/FileBackendTest.php | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/tests/phpunit/includes/filerepo/FileBackendTest.php b/tests/phpunit/includes/filerepo/FileBackendTest.php index 710ad83e7198..2b94778b3713 100644 --- a/tests/phpunit/includes/filerepo/FileBackendTest.php +++ b/tests/phpunit/includes/filerepo/FileBackendTest.php @@ -1392,11 +1392,8 @@ class FileBackendTest extends MediaWikiTestCase { private function doTestGetFileList() { $backendName = $this->backendClass(); - $base = $this->baseStorePath(); - - // Should have no errors - $iter = $this->backend->getFileList( array( 'dir' => "$base/unittest-cont-notexists" ) ); + $base = $this->baseStorePath(); $files = array( "$base/unittest-cont1/test1.txt", "$base/unittest-cont1/test2.txt", |