/** * 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)); }
function setUp() { parent::setUp(); // order of extension-loading is important !!!! $import = array('cms', 'static_info_tables', 'templavoila', 'languagevisibility'); $optional = array('version', 'mwimagemap', 'aoe_xml2array'); foreach ($optional as $ext) { if (t3lib_extMgm::isLoaded($ext)) { $import[] = $ext; } } $this->importExtensions($import); }
/** */ function setUp() { parent::setUp(); $this->importDataSet(dirname(__FILE__) . '/fixtures/dbDefaultLangs.xml'); unset($GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['languagevisibility']); }
function setUp() { parent::setUp(); $this->importDataSet(dirname(__FILE__) . '/fixtures/dbDefaultLangs.xml'); }
public function setUp() { parent::setUp(); $this->_loadWorkspaces(); }