private async Task ShowCard(ShowCard command) { var response = await client.PutAsync($"/games/{command.GameId}/statistics/card", command.ToContent()); response.StatusCode.Should().Be((int)HttpStatusCode.OK); }
public async Task AddCard_EmptyPayload_ReturnsBadRequest() { var command = new ShowCard(); var response = await client.PutAsync($"/games/{Guid.NewGuid()}/statistics/card", command.ToContent()); response.StatusCode.Should().Be((int)HttpStatusCode.BadRequest); }