$langObj = Language::factory( $lang );
$GLOBALS['wgLang'] = $langObj;
$GLOBALS['wgContLang'] = $langObj;
- $GLOBALS['wgMemc'] = new FakeMemCachedClient;
+ $GLOBALS['wgMemc'] = new EmptyBagOStuff;
$GLOBALS['wgOut'] = new OutputPage;
global $wgHooks;
$wgShowDBErrorBacktrace = true;
$wgContLang = new Language( 'en' );
- $wgMemc = new FakeMemCachedClient;
+ $wgMemc = new EmptyBagOStuff;
$this->options = new ParserOptions;
$this->options->setTemplateCallback( array( __CLASS__, 'statelessFetchTemplate' ) );
$wgUser = new User;
$wgRequest = new FauxRequest( array() );
- $wgMemc = new FakeMemCachedClient;
+ $wgMemc = new EmptyBagOStuff;
$wgContLang = Language::factory( 'tg' );
$this->lang = new LanguageToTest();
$this->lc = new TestConverter( $this->lang, 'tg',
global $wgLocaltimezone, $wgLocalTZoffset, $wgMemc, $wgContLang, $wgLang;
if(!$wgMemc) {
- $wgMemc = new FakeMemCachedClient;
+ $wgMemc = new EmptyBagOStuff;
}
$wgContLang = $wgLang = Language::factory( 'en' );
self::$apiUrl = $wgServer . wfScript( 'api' );
- $wgMemc = new FakeMemCachedClient;
+ $wgMemc = new EmptyBagOStuff;
$wgContLang = Language::factory( 'en' );
$wgAuth = new StubObject( 'wgAuth', 'AuthPlugin' );
$wgRequest = new FauxRequest( array() );
function setUp() {
global $wgContLang, $wgAuth, $wgMemc, $wgRequest, $wgUser;
- $wgMemc = new FakeMemCachedClient();
+ $wgMemc = new EmptyBagOStuff();
$wgContLang = Language::factory( 'en' );
$wgAuth = new StubObject( 'wgAuth', 'AuthPlugin' );
$wgRequest = new FauxRequest( array() );
$langObj = Language::factory( $lang );
$GLOBALS['wgLang'] = $langObj;
$GLOBALS['wgContLang'] = $langObj;
- $GLOBALS['wgMemc'] = new FakeMemCachedClient;
+ $GLOBALS['wgMemc'] = new EmptyBagOStuff;
$GLOBALS['wgOut'] = new OutputPage;
global $wgHooks;