Example #1
0
 /**
  * This is run after each unit test.  It empties the database.
  */
 protected function tearDown()
 {
     CmsDataPopulator::depopulate();
     parent::tearDown();
 }
Example #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();
 }