function tearDown() { if (file_exists(MAX_PATH . '/var/' . OX_getHostName() . '.conf.php')) { @unlink(MAX_PATH . '/var/' . OX_getHostName() . '.conf.php'); } $_SERVER['HTTP_HOST'] = $this->host; // Resume normal service with regards to the configuration file writer... unset($GLOBALS['override_TEST_ENVIRONMENT_RUNNING']); TestEnv::restoreConfig(); parent::tearDown(); }
function tearDown() { Util_File_remove(MAX_PATH . '/var/plugins/config'); parent::tearDown(); }