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