diff options
author | Brian Evans <grknight@gentoo.org> | 2019-04-11 12:58:18 -0400 |
---|---|---|
committer | Brian Evans <grknight@gentoo.org> | 2019-04-11 12:58:18 -0400 |
commit | 8befe8b8f4fecc31aa7f04fbb4b31a98dce28325 (patch) | |
tree | c45b2e6a265c342333073bfef0dca899bd676721 /MLEB/Translate/tests/phpunit/MessageGroupsTest.php | |
parent | Update Widgets for 1.32 (diff) | |
download | extensions-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.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 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() ); |