/** * migrate down db when test succeeds */ public function tearDown() { if (!$this->hasFailed() && $this->migration && $this->db) { $this->migration->down(); unlink($this->db); } }
/** * migrate down db when test succeeds */ public function tearDown() { if (!$this->hasFailed() && $this->migration && $this->db) { $this->migration->down(); unlink($this->db); } }