Beispiel #1
0
        public async void ResendUserInviteReturnsSuccess()
        {
            var response = await UserTokenBrowser.Post(Routing.ResendUserInvites, ctx => BuildRequest(ctx, new List <UserInvite>()));

            Assert.Equal(HttpStatusCode.Created, response.StatusCode);
        }
Beispiel #2
0
        public async Task VerifyGuestAsync_WhenHappyPath_ReturnsOk()
        {
            var response = await UserTokenBrowser.Post($"{Routing.VerifyGuestRoute}", ctx => BuildRequest(ctx, _defaultGuestVerificationRequest));

            Assert.Equal(HttpStatusCode.OK, response.StatusCode);
        }
Beispiel #3
0
        public async Task CreateGroupReturnsOk()
        {
            var response = await UserTokenBrowser.Post(Routing.Groups, ctx => BuildRequest(ctx, new Group()));

            Assert.Equal(HttpStatusCode.Created, response.StatusCode);
        }
        public async Task CreateGuestInviteReturnsOk()
        {
            var response = await UserTokenBrowser.Post($"{Routing.GuestInvitesRoute}", ctx => BuildRequest(ctx, _guestInvite));

            Assert.Equal(HttpStatusCode.OK, response.StatusCode);
        }