/** * tearDown method * * @return void */ public function tearDown() { parent::teardown(); Configure::write('log', true); if ($this->_restoreError) { restore_error_handler(); } }
/** * tearDown method * * @return void */ public function teardown() { if (TestCakeSession::started()) { session_write_close(); } unset($_SESSION); parent::teardown(); }
/** * tearDown method * * @return void */ public function teardown() { if (TestCakeSession::started()) { TestCakeSession::clear(); } unset($_SESSION); parent::teardown(); }
public function teardown() { parent::teardown(); unset($this->Subject); }
/** * tear down for test. * * @return void */ public function teardown() { parent::teardown(); $this->File->close(); unset($this->File); }