diff options
Diffstat (limited to 'MLEB/Translate/tests/phpunit/api/ApiQueryMessageGroupsTest.php')
-rw-r--r-- | MLEB/Translate/tests/phpunit/api/ApiQueryMessageGroupsTest.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/MLEB/Translate/tests/phpunit/api/ApiQueryMessageGroupsTest.php b/MLEB/Translate/tests/phpunit/api/ApiQueryMessageGroupsTest.php index 670c2def..4ce7eebe 100644 --- a/MLEB/Translate/tests/phpunit/api/ApiQueryMessageGroupsTest.php +++ b/MLEB/Translate/tests/phpunit/api/ApiQueryMessageGroupsTest.php @@ -24,7 +24,7 @@ class ApiQueryMessageGroupsTest extends ApiTestCase { $wgHooks['TranslatePostInitGroups'] = [ [ $this, 'getTestGroups' ] ]; $mg = MessageGroups::singleton(); - $mg->setCache( wfGetCache( 'hash' ) ); + $mg->setCache( new WANObjectCache( [ 'cache' => wfGetCache( 'hash' ) ] ) ); $mg->recache(); } |