/** * This is run after each unit test. It empties the database. */ protected function tearDown() { CmsDataPopulator::depopulate(); parent::tearDown(); }
/** * This is run after each unit test. It empties the database. */ protected function tearDown() { CmsDataPopulator::depopulate($this->con); $this->con->commit(); parent::tearDown(); }