From: Aaron Schulz Date: Sat, 28 Jan 2012 00:43:55 +0000 (+0000) Subject: r110180: fixed copy-paste cruft for custom backend code. Also made backend names... X-Git-Tag: 1.31.0-rc.0~25041 X-Git-Url: http://git.cyclocoop.org/data/Fool?a=commitdiff_plain;h=ece8bb5e6fbca1dbf36e5742161ed80051583286;p=lhc%2Fweb%2Fwiklou.git r110180: fixed copy-paste cruft for custom backend code. Also made backend names consistent. --- diff --git a/tests/phpunit/includes/filerepo/StoreBatchTest.php b/tests/phpunit/includes/filerepo/StoreBatchTest.php index 700c962310..6abceeb33d 100644 --- a/tests/phpunit/includes/filerepo/StoreBatchTest.php +++ b/tests/phpunit/includes/filerepo/StoreBatchTest.php @@ -18,12 +18,12 @@ class StoreBatchTest extends MediaWikiTestCase { $useConfig = $conf; } } - $useConfig['name'] = 'localtesting'; // swap name - $class = $conf['class']; - self::$backendToUse = new $class( $useConfig ); + $useConfig['name'] = 'local-testing'; // swap name + $class = $useConfig['class']; + $backend = new $class( $useConfig ); } else { $backend = new FSFileBackend( array( - 'name' => 'local-backend', + 'name' => 'local-testing', 'lockManager' => 'nullLockManager', 'containerPaths' => array( 'unittests-public' => "{$tmpPrefix}-public",