protected function setUp() { parent::setUp(); // Start a transaction to revert all the modification after the test $this->con = Propel::getConnection(); $this->con->beginTransaction(); // Drop the table to be sure we have a clean environment $this->con->exec("SET FOREIGN_KEY_CHECKS = 0;"); $this->con->exec("DROP TABLE IF EXISTS `example_table`"); }
protected function setUp() { parent::setUp(); $generator = new ConfigurationGenerator(); $generator->doGenerate($this->event); }
protected function setUp() { parent::setUp(); $generator = new PhpGenerator($this->getSmarty()); $generator->doGenerate($this->event); }
protected function setUp() { parent::setUp(); $generator = new RoutingGenerator(); $generator->doGenerate($this->event); }