protected function tearDown() { $this->resetRequest(); $this->resetResponse(); $this->_logout(); parent::tearDown(); }
public function tearDown() { /* @var $dbAdapter Zend_Db_Adapter_Abstract */ $dbAdapter = Zend_Registry::get('db'); $dbAdapter->closeConnection(); parent::tearDown(); }
protected function tearDown() { // restore config if (static::BACKUP_CONFIG) { ConfigHelper::restoreConfig(); } $this->fixMemoryUsage(); parent::tearDown(); $this->tearDownGcFix(); }
protected function tearDown() { if ($this->databaseTester) { $this->databaseTester->onTearDown(); //default null operation - nothing to /** * Destroy the tester after the test is run to keep DB connections * from piling up. */ $this->databaseTester = null; } parent::tearDown(); }
/** * Cleans up the environment after running a test. */ protected function tearDown() { // TODO Auto-generated ArticleControllerTest::tearDown() parent::tearDown(); }
/** * Cleans up the environment after running a test. */ protected function tearDown() { // TODO Auto-generated Admin_IndexControllerTest::tearDown() parent::tearDown(); }
/** * Tears down the fixture, for example, close a network connection. * This method is called after a test is executed. * * @return void */ public function tearDown() { parent::tearDown(); }
/** * Cleans up the environment after running a test. */ protected function tearDown() { // TODO Auto-generated UpgradeTest::tearDown() parent::tearDown(); }
/** * Remove environment * */ protected function tearDown() { $dbAdapter = Zend_Db_Table_Abstract::getDefaultAdapter(); $dbAdapter->closeConnection(); parent::tearDown(); }
/** Tear down. */ public function tearDown() { Zend_Controller_Front::getInstance()->resetInstance(); $this->resetAll(); parent::tearDown(); }
public function tearDown() { //Zend_Db_Table::getDefaultAdapter()->closeConnection(); parent::tearDown(); }
/** * Reset objects that carry global state between test runs. * * @return void */ public function tearDown() { // This fixes a "too many open files" error caused by hanging references // to the logger object somewhere in the code (could be anywhere). // Since log files are only closed in log writer shutdown (only in // destructor), this hanging reference keeps another file open with each // test run. if ($this->logger instanceof Zend_Log) { $this->logger->__destruct(); } if ($this->db instanceof Omeka_Db) { Omeka_Test_Resource_Db::setDbAdapter($this->db->getAdapter()); $this->db->rollBack(); } Zend_Registry::_unsetInstance(); unset($this->bootstrap); unset($this->application); parent::tearDown(); }
public function tearDown() { $this->_helper->tearDown($this->_mockData); parent::tearDown(); }
/** * Clean up database instances. */ protected function tearDown() { $this->logoutUser(); $this->resetSearch(); $this->deleteTestDocuments(); $this->deleteTestFiles(); $this->logger = null; parent::tearDown(); }
protected function tearDown() { $this->_gb = null; parent::tearDown(); }
public function tearDown() { $this->resetRequest(); $this->resetResponse(); parent::tearDown(); }
/** * Cleans up the environment after running a test. */ protected function tearDown() { // TODO Auto-generated HistoryTest::tearDown() parent::tearDown(); }
/** * Cleans up the environment after running a test. */ protected function tearDown() { // TODO Auto-generated RequestTest::tearDown() parent::tearDown(); }