Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Why is my controller test not working, the view name is coming back empty
- var controller = new UserController();
- var result = controller.Login() as ViewResult;
- Assert.AreEqual("Login", result.ViewName);
Add Comment
Please, Sign In to add comment