Fixed typo in testGetFileList() and used the proper FileBackend function delete
This commit is contained in:
parent
6c9fc2740c
commit
6efbf4d4fd
1 changed files with 1 additions and 1 deletions
|
|
@ -570,7 +570,7 @@ class FileBackendTest extends MediaWikiTestCase {
|
|||
$this->assertEquals( $expected, sort( $list ), "Correct file listing." );
|
||||
|
||||
foreach ( $files as $file ) {
|
||||
$this->backend->delete( array( 'src' => "$base/$files" ) );
|
||||
$this->backend->doOperation( array( 'op' => 'delete', 'src' => "$base/$file" ) );
|
||||
}
|
||||
|
||||
$iter = $this->backend->getFileList( array( 'dir' => "$base/cont1/not/exists" ) );
|
||||
|
|
|
|||
Loading…
Reference in a new issue