public function tearDown() { if (is_file(ForgeConfig::get('codendi_log') . '/tv3_to_tv5.log')) { unlink(ForgeConfig::get('codendi_log') . '/tv3_to_tv5.log'); } ForgeConfig::restore(); parent::tearDown(); }
public function tearDown() { $this->mysqli->query('DELETE FROM groups WHERE unix_group_name = "short-name"'); unset($GLOBALS['svn_prefix']); unset($GLOBALS['cvs_prefix']); unset($GLOBALS['grpdir_prefix']); unset($GLOBALS['ftp_frs_dir_prefix']); unset($GLOBALS['ftp_anon_dir_prefix']); unset($GLOBALS['sys_default_domain']); unset($GLOBALS['sys_cookie_prefix']); unset($GLOBALS['sys_force_ssl']); parent::tearDown(); }
public function tearDown() { ForgeConfig::restore(); $this->mysqli->query('DELETE FROM groups WHERE unix_group_name = "short-name"'); unset($GLOBALS['svn_prefix']); unset($GLOBALS['cvs_prefix']); unset($GLOBALS['grpdir_prefix']); unset($GLOBALS['ftp_frs_dir_prefix']); unset($GLOBALS['ftp_anon_dir_prefix']); unset($GLOBALS['sys_default_domain']); unset($GLOBALS['sys_cookie_prefix']); unset($GLOBALS['sys_force_ssl']); $GLOBALS['sys_pluginsroot'] = $this->old_sys_pluginsroot; $GLOBALS['sys_custompluginsroot'] = $this->old_sys_custompluginsroot; EventManager::clearInstance(); PluginManager::instance()->invalidateCache(); PluginFactory::clearInstance(); $GLOBALS = $this->old_globals; parent::tearDown(); }
public function tearDown() { $this->truncateTable('tracker_artifact_priority'); parent::tearDown(); }