/** * Force the enable state of the cache and flush it. * * @param void * @return void */ public function setUp() { parent::setUp(); //TODO get rid of the extConf push/pop stuff $this->oldExtConfSetting = $GLOBALS['TYPO3_CONF_VARS']['EXT']['extConf']['languagevisibility']; $GLOBALS['TYPO3_CONF_VARS']['EXT']['extConf']['languagevisibility'] = serialize(array('useCache' => 1)); tx_languagevisibility_cacheManager::enableCache(); tx_languagevisibility_cacheManager::getInstance()->flushAllCaches(); }
/** * @return void */ public function setUp() { parent::setUp(); unset($GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['languagevisibility']); }
/** * @return void */ public function setUp() { parent::setUp(); //put new initialization here }