From ece8bb5e6fbca1dbf36e5742161ed80051583286 Mon Sep 17 00:00:00 2001 From: Aaron Schulz Date: Sat, 28 Jan 2012 00:43:55 +0000 Subject: [PATCH] r110180: fixed copy-paste cruft for custom backend code. Also made backend names consistent. --- tests/phpunit/includes/filerepo/StoreBatchTest.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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", -- 2.20.1