tearDown() protected method

Template Method that is called after the tests of this test suite have finished running.
protected tearDown ( )
 protected function tearDown()
 {
     foreach ($this->savedGlobals as $var => $val) {
         $GLOBALS[$var] = $val;
     }
     // Restore backends
     RepoGroup::destroySingleton();
     FileBackendGroup::destroySingleton();
     parent::tearDown();
 }
Example #2
0
 protected function tearDown()
 {
     parent::tearDown();
 }
 protected function tearDown()
 {
     // shutdown CakePHP fixture
     if (isset($this->fixtureManager)) {
         $this->fixtureManager->shutdown();
     }
     parent::tearDown();
 }