Exemple #1
0
 function setup()
 {
     parent::setup();
     $app = Prado::getApplication();
     $this->userDao = $app->getModule('daos')->getDao('UserDao');
     $this->flushDatabase();
 }
 function setup()
 {
     parent::setup();
     $app = Prado::getApplication();
     $this->categoryDao = $app->getModule('daos')->getDao('CategoryDao');
     $this->projectDao = $app->getModule('daos')->getDao('ProjectDao');
     $this->flushDatabase();
 }
 public function setUp()
 {
     parent::setup();
     \DB::table("roles")->wherE("role_name", $this->roleName)->delete();
 }
 public function setUp()
 {
     parent::setup();
 }