private ResetPassword ( string code ) : ActionResult | ||
code | string | |
Résultat | ActionResult |
public void AccountController_ResetPassword_Test02() { // Initialization AccountController ctl = new AccountController(); ResetPasswordViewModel model = new ResetPasswordViewModel(); // To test if it is null var result = ctl.ResetPassword(model); Assert.IsNotNull(result); }
public void AccountController_ResetPassword_Test01() { // Initialization AccountController ctl = new AccountController(); string code = "888888"; // To test if it is null var result = ctl.ResetPassword(code); Assert.IsNotNull(result); }