diff options
Diffstat (limited to 'MLEB/Translate/tests/phpunit/MessageGroupsTest.php')
-rw-r--r-- | MLEB/Translate/tests/phpunit/MessageGroupsTest.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/MLEB/Translate/tests/phpunit/MessageGroupsTest.php b/MLEB/Translate/tests/phpunit/MessageGroupsTest.php index 0f5b9d1f..68383357 100644 --- a/MLEB/Translate/tests/phpunit/MessageGroupsTest.php +++ b/MLEB/Translate/tests/phpunit/MessageGroupsTest.php @@ -28,7 +28,7 @@ class MessageGroupsTest extends MediaWikiIntegrationTestCase { 'FileBasedMessageGroupLoader::registerLoader' ); $mg = MessageGroups::singleton(); - $mg->setCache( new WANObjectCache( [ 'cache' => wfGetCache( 'hash' ) ] ) ); + $mg->setCache( new WANObjectCache( [ 'cache' => new HashBagOStuff() ] ) ); $mg->recache(); MessageIndex::setInstance( new HashMessageIndex() ); |