Exemplo n.º 1
0
        public async Task As_an_admin_I_can_get_all_players()
        {
            var client = await GetAdminClientAsync();

            PlayerListGetResponse response = await GetPlayersAdminAsync(client);

            Assert.NotNull(response.Players);
            Assert.True(response.Players.Length > 0);
        }
Exemplo n.º 2
0
        public async Task As_a_player_user_I_cant_get_player_list()
        {
            var client = await GetClientAsync();

            PlayerListGetResponse response = await GetPlayersAdminAsync(client, HttpStatusCode.Forbidden);
        }