Ejemplo n.º 1
0
        public void ResetPasswordTest_if_EnablePasswordReset_is_not_enabled_throws_exception()
        {
            //Arrange
            var config = CreateConfigFake();

            config["enablePasswordReset"] = "false";

            _provider.Initialize(config["applicationName"], config);

            //Act and Assert
            _provider.ResetPassword(null, null);
        }
Ejemplo n.º 2
0
 public string ResetPassword(string username, string passwordAnswer)
 {
     return(_provider.ResetPassword(username, passwordAnswer));
 }