public async Task Can_signup_user_and_change_password() { // Arrange var authenticationApiClient = new AuthenticationApiClient(new Uri(GetVariable("AUTH0_AUTHENTICATION_API_URL"))); // Sign up the user var signupUserRequest = new SignupUserRequest { ClientId = clientId, Connection = connection.Name, Email = $"{Guid.NewGuid().ToString("N")}@nonexistingdomain.aaa", Password = "******" }; var signupUserResponse = await authenticationApiClient.SignupUser(signupUserRequest); signupUserResponse.Should().NotBeNull(); signupUserResponse.Email.Should().Be(signupUserRequest.Email); // Change the user's Email address var changePasswordRequest = new ChangePasswordRequest { ClientId = signupUserRequest.ClientId, Connection = signupUserRequest.Connection, Email = signupUserRequest.Email, Password = "******" }; string changePasswordResponse = await authenticationApiClient.ChangePassword(changePasswordRequest); changePasswordResponse.Should().Be("\"We've just sent you an Email to reset your password.\""); }