r106931 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r106930‎ | r106931 | r106932 >
Date:08:46, 21 December 2011
Author:aaron
Status:ok
Tags:
Comment:
Fixed typo in testGetFileList() and used the proper FileBackend function delete
Modified paths:
  • /trunk/phase3/tests/phpunit/includes/filerepo/FileBackendTest.php (modified) (history)

Diff [purge]

Index: trunk/phase3/tests/phpunit/includes/filerepo/FileBackendTest.php
@@ -570,7 +570,7 @@
571571 $this->assertEquals( $expected, sort( $list ), "Correct file listing." );
572572
573573 foreach ( $files as $file ) {
574 - $this->backend->delete( array( 'src' => "$base/$files" ) );
 574+ $this->backend->doOperation( array( 'op' => 'delete', 'src' => "$base/$file" ) );
575575 }
576576
577577 $iter = $this->backend->getFileList( array( 'dir' => "$base/cont1/not/exists" ) );

Status & tagging log