Ejemplo n.º 1
0
 public void LogInControlPanelPassed()
 {
     var accountController = new AccountController(_controllerData, _authorizationService);
     var result = accountController.LogIn(_incorrectLoginViewModel) as RedirectToRouteResult;
     Assert.AreEqual(1, 2);
 }
Ejemplo n.º 2
0
 public void LogInControlPanelFailed()
 {
     var accountController = new AccountController(_controllerData, _authorizationService);
     var result = accountController.LogIn(_incorrectLoginViewModel) as RedirectToRouteResult;
     Assert.AreEqual("Dashboard", result.Permanent);
 }