Fixed typo in testGetFileList() and used the proper FileBackend function delete

This commit is contained in:
Aaron Schulz 2011-12-21 08:46:10 +00:00
parent 6c9fc2740c
commit 6efbf4d4fd

View file

@ -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" ) );