Esempio n. 1
0
 public function setup()
 {
     parent::setup();
     User::create(array('fullname' => 'John Doe', 'login' => 'jdoe', 'password' => 'foo', 'country' => 'United States'));
     User::create(array('fullname' => 'Jane Doe', 'login' => 'jane', 'password' => 'bar', 'country' => 'United States'));
     User::create(array('fullname' => 'Rasmus L', 'login' => 'rasm', 'password' => 'php', 'country' => 'Denmark'));
 }
Esempio n. 2
0
 public function setup()
 {
     parent::setup();
     $this->repository = Repository::get('default');
 }