/** * Deletes all our fixtures tables. * * @access public * @return bool True on success, false otherwise. * */ public function dropTables() { $fixtures = $this->_db->listTables(); if (count($fixtures) === 0) { throw new ErrorException('No fixture tables to drop.'); } try { foreach ($fixtures as $fixture) { $this->dropTable($fixture); } } catch (Exception $e) { echo $e->getMessage(); } return true; }