No need of $wgMemc after r73386.
authorPlatonides <platonides@users.mediawiki.org>
Wed, 22 Sep 2010 16:06:27 +0000 (16:06 +0000)
committerPlatonides <platonides@users.mediawiki.org>
Wed, 22 Sep 2010 16:06:27 +0000 (16:06 +0000)
Change the comment added in r73260 so that it doesn't look that relying on how previous tests set the globals is ever acceptable.

maintenance/tests/phpunit/includes/MessageTest.php

index 5c213dc..0c01144 100644 (file)
@@ -3,10 +3,10 @@
 class MessageTest extends PHPUnit_Framework_TestCase {
 
        function setUp() {
-               global $wgLanguageCode, $wgLang, $wgContLang, $wgMemc, $wgMessageCache;
+               global $wgLanguageCode, $wgLang, $wgContLang, $wgMessageCache;
 
                $wgLanguageCode = 'en'; # For mainpage to be 'Main Page'
-               //Some test set this to a Stub Object. For this test we need the real deal
+               //Note that a Stub Object is not enough for this test
                $wgContLang = $wgLang = Language::factory( $wgLanguageCode );
                $wgMessageCache = new MessageCache( false, true, 3600 );
        }