public async Task VerifyGuestAsync_WhenAccessCheckFails_ReturnsForbidden() { var response = await ForbiddenBrowser.Post(Routing.VerifyGuestRoute, BuildRequest); Assert.Equal(HttpStatusCode.Forbidden, response.StatusCode); }
public async Task CreateGuestInviteAsyncWithoutAccessReturnsForbidden() { var response = await ForbiddenBrowser.Post(Routing.GuestInvitesRoute, BuildRequest); Assert.Equal(HttpStatusCode.Forbidden, response.StatusCode); }