Guest User

Untitled

a guest
Aug 20th, 2018
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.20 KB | None | 0 0
  1. Why is my controller test not working, the view name is coming back empty
  2. var controller = new UserController();
  3.  
  4. var result = controller.Login() as ViewResult;
  5.  
  6. Assert.AreEqual("Login", result.ViewName);
Add Comment
Please, Sign In to add comment