public function tearDown() { parent::tearDown(); if (!empty($this->mongo)) { $this->mongo->selectDB(null)->drop(); } }
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; }
public function tearDown() { parent::tearDown(); system('rm -r ' . $this->dir); }