Author: Jan Schneider (jan@horde.org)
Inheritance: extends Horde_Test_Case
Example #1
0
 public function tearDown()
 {
     parent::tearDown();
     if (!empty($this->mongo)) {
         $this->mongo->selectDB(null)->drop();
     }
 }
Example #2
0
File: Base.php Project: horde/horde
 public function tearDown()
 {
     parent::tearDown();
     $this->db->delete('DELETE FROM horde_cache');
     if ($this->migrator) {
         $this->migrator->down();
     }
     if ($this->db) {
         $this->db->disconnect();
     }
     $this->db = $this->migrator = null;
 }
Example #3
0
 public function tearDown()
 {
     parent::tearDown();
     system('rm -r ' . $this->dir);
 }