From: Platonides Date: Wed, 29 Dec 2010 15:11:44 +0000 (+0000) Subject: Fix the DELETE FROM `unittest_objectcache` WHERE keyname = 'my_wiki-unittest_:user... X-Git-Tag: 1.31.0-rc.0~33011 X-Git-Url: http://git.cyclocoop.org/%22%20.%20generer_url_ecrire%28%22articles%22%2C%22id_article=%24id_article%22%29%20.%20%22?a=commitdiff_plain;h=00df670538941e4a674c7318336e159e355d6788;p=lhc%2Fweb%2Fwiklou.git Fix the DELETE FROM `unittest_objectcache` WHERE keyname = 'my_wiki-unittest_:user:id:1 error --- 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',