/** * This is run before each unit test; it populates the database. */ protected function setUp() { parent::setUp(); $this->con = Propel::getConnection(PagePeer::DATABASE_NAME); $this->con->beginTransaction(); CmsDataPopulator::depopulate($this->con); CmsDataPopulator::populate($this->con); }
/** * This is run before each unit test; it populates the database. */ protected function setUp() { parent::setUp(); CmsDataPopulator::depopulate(); CmsDataPopulator::populate(); }