From: Platonides Date: Wed, 5 Jan 2011 23:54:07 +0000 (+0000) Subject: $messageMemc is used as local variable in line 63, function setUp X-Git-Tag: 1.31.0-rc.0~32784 X-Git-Url: http://git.cyclocoop.org/%28?a=commitdiff_plain;h=fa08f3be62dda4bb2080ee603a7d0e7cfe522459;p=lhc%2Fweb%2Fwiklou.git $messageMemc is used as local variable in line 63, function setUp $messageMemc is used as local variable in line 74, function setUp --- diff --git a/tests/phpunit/includes/parser/NewParserTest.php b/tests/phpunit/includes/parser/NewParserTest.php index dcd11747bd..84e631c30c 100644 --- a/tests/phpunit/includes/parser/NewParserTest.php +++ b/tests/phpunit/includes/parser/NewParserTest.php @@ -26,7 +26,7 @@ class NewParserTest extends MediaWikiTestCase { //PHPUnit + MediaWikiTestCase functions function setUp() { - global $wgContLang, $wgUseDatabaseMessages, $wgMsgCacheExpiry, $wgNamespaceProtection, $wgNamespaceAliases, $IP; + global $wgContLang, $wgUseDatabaseMessages, $wgMsgCacheExpiry, $wgNamespaceProtection, $wgNamespaceAliases, $IP, $messageMemc; $wgContLang = Language::factory( 'en' ); //Setup CLI arguments