public async Task User_should_be_deleted() { var createdResult = await UserManagementApi.CreateUser(GetUniqueTestUser); var deleteResult = await UserManagementApi.DeleteUser(createdResult.Data.First().Id); Assert.True(createdResult.Success); Assert.True(deleteResult.Success); }
public async Task Deleting_nonexisting_user_should_fail_gracefully() { var deleteResult = await UserManagementApi.DeleteUser(Guid.NewGuid()); Assert.False(deleteResult.Success); }