From 00df670538941e4a674c7318336e159e355d6788 Mon Sep 17 00:00:00 2001 From: Platonides Date: Wed, 29 Dec 2010 15:11:44 +0000 Subject: [PATCH] Fix the DELETE FROM `unittest_objectcache` WHERE keyname = 'my_wiki-unittest_:user:id:1 error --- tests/phpunit/bootstrap.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/phpunit/bootstrap.php b/tests/phpunit/bootstrap.php index dca32f3d3b..15b517cb7f 100644 --- a/tests/phpunit/bootstrap.php +++ b/tests/phpunit/bootstrap.php @@ -29,12 +29,13 @@ EOF; } global $wgLocalisationCacheConf, $wgMainCacheType, $wgMessageCacheType, $wgParserCacheType; -global $wgMessageCache, $messageMemc, $wgUseDatabaseMessages, $wgMsgCacheExpiry; +global $wgMessageCache, $messageMemc, $wgUseDatabaseMessages, $wgMsgCacheExpiry, $wgMemc; $wgLocalisationCacheConf['storeClass'] = 'LCStore_Null'; $wgMainCacheType = CACHE_NONE; $wgMessageCacheType = CACHE_NONE; $wgParserCacheType = CACHE_NONE; $wgUseDatabaseMessages = false; # Set for future resets +$wgMemc = new FakeMemCachedClient; # The message cache was already created in Setup.php $wgMessageCache = new StubObject( 'wgMessageCache', 'MessageCache', -- 2.20.1