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 );
}