r110198 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r110197‎ | r110198 | r110199 >
Date:00:43, 28 January 2012
Author:aaron
Status:ok
Tags:filebackend 
Comment:
r110180: fixed copy-paste cruft for custom backend code. Also made backend names consistent.
Modified paths:
  • /trunk/phase3/tests/phpunit/includes/filerepo/StoreBatchTest.php (modified) (history)

Diff [purge]

Index: trunk/phase3/tests/phpunit/includes/filerepo/StoreBatchTest.php
@@ -18,12 +18,12 @@
1919 $useConfig = $conf;
2020 }
2121 }
22 - $useConfig['name'] = 'localtesting'; // swap name
23 - $class = $conf['class'];
24 - self::$backendToUse = new $class( $useConfig );
 22+ $useConfig['name'] = 'local-testing'; // swap name
 23+ $class = $useConfig['class'];
 24+ $backend = new $class( $useConfig );
2525 } else {
2626 $backend = new FSFileBackend( array(
27 - 'name' => 'local-backend',
 27+ 'name' => 'local-testing',
2828 'lockManager' => 'nullLockManager',
2929 'containerPaths' => array(
3030 'unittests-public' => "{$tmpPrefix}-public",

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r110180Fixed a bunch of dir leakageaaron22:46, 27 January 2012

Status & tagging log