public function setUp()
 {
     parent::setUp();
     $user = User::create(['login' => 'test', 'password' => 'a']);
     $game = Game::create(['type' => 'cricket']);
     $game->addPlayer($user->getId());
     $this->gameUser = $gameUser = Arrays::first($game->game_users);
     $game->updateAttributes(['current_game_user_id' => $gameUser->getId()]);
 }
 public function setUp()
 {
     parent::setUp();
     Route::$validate = false;
     Route::allowAll('/auth_sample', 'auth_sample');
 }
Beispiel #3
0
 public function setUp()
 {
     parent::setUp();
     Route::clear();
     SampleController::$beforeCallback = null;
 }
Beispiel #4
0
 public function setUp()
 {
     parent::setUp();
     Route::clear();
 }