summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Evans <grknight@gentoo.org>2019-04-11 12:58:18 -0400
committerBrian Evans <grknight@gentoo.org>2019-04-11 12:58:18 -0400
commit8befe8b8f4fecc31aa7f04fbb4b31a98dce28325 (patch)
treec45b2e6a265c342333073bfef0dca899bd676721 /MLEB/Translate/tests/phpunit/MessageGroupsTest.php
parentUpdate Widgets for 1.32 (diff)
downloadextensions-8befe8b8f4fecc31aa7f04fbb4b31a98dce28325.tar.gz
extensions-8befe8b8f4fecc31aa7f04fbb4b31a98dce28325.tar.bz2
extensions-8befe8b8f4fecc31aa7f04fbb4b31a98dce28325.zip
Update Language Bundle to 2019.01
Signed-off-by: Brian Evans <grknight@gentoo.org>
Diffstat (limited to 'MLEB/Translate/tests/phpunit/MessageGroupsTest.php')
-rw-r--r--MLEB/Translate/tests/phpunit/MessageGroupsTest.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/MLEB/Translate/tests/phpunit/MessageGroupsTest.php b/MLEB/Translate/tests/phpunit/MessageGroupsTest.php
index 1ab9fad5..2770683c 100644
--- a/MLEB/Translate/tests/phpunit/MessageGroupsTest.php
+++ b/MLEB/Translate/tests/phpunit/MessageGroupsTest.php
@@ -29,7 +29,7 @@ class MessageGroupsTest extends MediaWikiTestCase {
$wgHooks['TranslatePostInitGroups'] = [ 'MessageGroups::getConfiguredGroups' ];
$mg = MessageGroups::singleton();
- $mg->setCache( wfGetCache( 'hash' ) );
+ $mg->setCache( new WANObjectCache( [ 'cache' => wfGetCache( 'hash' ) ] ) );
$mg->recache();
MessageIndex::setInstance( new HashMessageIndex() );