public async Task UpdateGuestSession_WithoutAuthorization_ReturnsForbidden() { var response = await ForbiddenBrowser.Put($"{Routing.GuestSessionsRoute}/{Guid.NewGuid()}", BuildRequest); Assert.Equal(HttpStatusCode.Forbidden, response.StatusCode); }
public async Task RecalculateProjectLobbyStateAsync_WithoutAccess_ReturnsForbidden() { var response = await ForbiddenBrowser.Put($"{Routing.ProjectsRoute}/{Guid.NewGuid()}/{Routing.ProjectLobbyStatePath}", BuildRequest); Assert.Equal(HttpStatusCode.Forbidden, response.StatusCode); }
public async Task UpdateGuestInviteAsyncWithoutAccessReturnsForbidden() { var response = await ForbiddenBrowser.Put($"{Routing.GuestInvitesRoute}/{Guid.NewGuid()}", BuildRequest); Assert.Equal(HttpStatusCode.Forbidden, response.StatusCode); }