From: Priyanka Dhanda Date: Mon, 20 Sep 2010 17:23:34 +0000 (+0000) Subject: As per Nikerabbit's comment in r73260, is not needed by MessageCache X-Git-Tag: 1.31.0-rc.0~34860 X-Git-Url: http://git.cyclocoop.org/%28?a=commitdiff_plain;h=ede9a9e1d9be50cab8287a957c006d7bd962ba91;p=lhc%2Fweb%2Fwiklou.git As per Nikerabbit's comment in r73260, is not needed by MessageCache --- diff --git a/maintenance/tests/phpunit/includes/MessageTest.php b/maintenance/tests/phpunit/includes/MessageTest.php index 2228b75396..5c213dc019 100644 --- a/maintenance/tests/phpunit/includes/MessageTest.php +++ b/maintenance/tests/phpunit/includes/MessageTest.php @@ -8,8 +8,7 @@ class MessageTest extends PHPUnit_Framework_TestCase { $wgLanguageCode = 'en'; # For mainpage to be 'Main Page' //Some test set this to a Stub Object. For this test we need the real deal $wgContLang = $wgLang = Language::factory( $wgLanguageCode ); - $wgMemc = new FakeMemCachedClient; - $wgMessageCache = new MessageCache( $wgMemc, true, 3600 ); + $wgMessageCache = new MessageCache( false, true, 3600 ); } function testExists() {