public function tearDown() { // $this->stop(); parent::tearDown(); $this->config->tearDown(); }
/** * @copydoc PHPUnit_Framework_TestCase::tearDown() */ protected function tearDown() { parent::tearDown(); if (Config::getVar('general', 'installed')) { $affectedTables = $this->getAffectedTables(); if (is_array($affectedTables)) { PKPTestHelper::restoreTables($this->getAffectedTables(), $this); } elseif ($affectedTables === PKP_TEST_ENTIRE_DB) { PKPTestHelper::restoreDB($this); } } }
public function tearDown() { parent::tearDown(); $this->config->tearDown(); }
/** * Tears down the fixture, for example, close a network connection. * This method is called after a test is executed. */ public function tearDown() { parent::tearDown(); Mockery::close(); }
public function tearDown() { Kwf_Test_SeparateDb::restoreTestDb(); // macht das nur wenns eine gibt parent::tearDown(); }
protected function tearDown() { if ($this->clearDbAfterTest) { Nano_Db::clean(); } if ($this->clearLogAfterTest) { Nano_Log::clear(); } parent::tearDown(); }