diff options
Diffstat (limited to 'MLEB/Translate/tests/phpunit/SolrTTMServerTest.php')
-rw-r--r-- | MLEB/Translate/tests/phpunit/SolrTTMServerTest.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/MLEB/Translate/tests/phpunit/SolrTTMServerTest.php b/MLEB/Translate/tests/phpunit/SolrTTMServerTest.php index ac0a19d6..dbd22df6 100644 --- a/MLEB/Translate/tests/phpunit/SolrTTMServerTest.php +++ b/MLEB/Translate/tests/phpunit/SolrTTMServerTest.php @@ -30,7 +30,7 @@ class SolrTTMServerTest extends MediaWikiTestCase { $wgHooks['TranslatePostInitGroups'] = [ [ $this, 'addGroups' ] ]; $mg = MessageGroups::singleton(); - $mg->setCache( wfGetCache( 'hash' ) ); + $mg->setCache( new WANObjectCache( [ 'cache' => wfGetCache( 'hash' ) ] ) ); $mg->recache(); MessageIndex::setInstance( new HashMessageIndex() ); |