Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Feb 25, 2010 04:15 PM|LINK
I wrote a test that asserts that ModelState.IsValid is false but the test keeps failing. On closer examination, I find that ModelState.IfValid is always returning true for my controller tests. I had used Data annotations to mark up the model with required
Am I missing anything?