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'); }
public function setUp() { parent::setUp(); Route::clear(); SampleController::$beforeCallback = null; }
public function setUp() { parent::setUp(); Route::clear(); }