/** * Initialize the fixture. * * @return null */ protected function setUp() { $this->_aBackup['_SERVER'] = $_SERVER; $this->_aBackup['_POST'] = $_POST; $this->_aBackup['_GET'] = $_GET; $this->_aBackup['_SESSION'] = $_SESSION; $this->_aBackup['_COOKIE'] = $_COOKIE; parent::setUp(); error_reporting(E_ALL ^ E_NOTICE | E_STRICT); ini_set('display_errors', true); $this->getConfig(); $this->getSession(); $this->setAdminMode(false); $this->setShopId(null); oxAddClassModule('modOxUtilsDate', 'oxUtilsDate'); oxUtils::getInstance()->cleanStaticCache(); error_reporting(E_ALL ^ E_NOTICE | E_STRICT); ini_set('display_errors', true); // initiating the modules oxTestModuleLoader::loadModule(); }