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