protected function tearDown() { if (class_exists('Doctrine_Core')) { // empty account table Doctrine_Core::getTable('Account')->createQuery()->delete()->execute(); } // unregister doctrine namespace $this->classLoader->unregisterNamespace('Doctrine_'); }
protected function tearDown() { if (class_exists('Doctrine_Core')) { // close sqlite connection Doctrine_Manager::connection()->close(); } // unregister doctrine namespace $this->classLoader->unregisterNamespace('Doctrine_'); }