3
Vote

Unit Tests in TestHelper fail

description

Test 'MvcContrib.TestHelper.Sample.StarsControllerTest.AddFormStarShouldRedirectToList' failed: MvcContrib.TestHelper.ActionResultAssertionException : Expected result to be of type RedirectToRouteResult. It is actually of type RedirectToRouteResult.
C:\Users\dlaub\Downloads\MVCContrib.source\src\MvcContrib.TestHelper\MvcContrib.TestHelper\ActionResultHelper.cs(24,0): at MvcContrib.TestHelper.ActionResultHelper.AssertResultIs[T](ActionResult result)
C:\Users\dlaub\Downloads\MVCContrib.source\src\MvcContrib.TestHelper\MvcContrib.TestHelper\ActionResultHelper.cs(67,0): at MvcContrib.TestHelper.ActionResultHelper.AssertActionRedirect(ActionResult result)
StarsControllerTest.cs(43,0): at MvcContrib.TestHelper.Sample.StarsControllerTest.AddFormStarShouldRedirectToList()
Test 'MvcContrib.TestHelper.Sample.StarsControllerTest.ListControllerSelectsListView' failed: MvcContrib.TestHelper.ActionResultAssertionException : Expected result to be of type ViewResult. It is actually of type ViewResult.
C:\Users\dlaub\Downloads\MVCContrib.source\src\MvcContrib.TestHelper\MvcContrib.TestHelper\ActionResultHelper.cs(24,0): at MvcContrib.TestHelper.ActionResultHelper.AssertResultIs[T](ActionResult result)
C:\Users\dlaub\Downloads\MVCContrib.source\src\MvcContrib.TestHelper\MvcContrib.TestHelper\ActionResultHelper.cs(37,0): at MvcContrib.TestHelper.ActionResultHelper.AssertViewRendered(ActionResult result)
StarsControllerTest.cs(37,0): at MvcContrib.TestHelper.Sample.StarsControllerTest.ListControllerSelectsListView()
Test 'MvcContrib.TestHelper.Sample.StarsControllerTest.NearbyShouldRedirectToListWithLinks' failed: MvcContrib.TestHelper.ActionResultAssertionException : Expected result to be of type RedirectToRouteResult. It is actually of type RedirectToRouteResult.
C:\Users\dlaub\Downloads\MVCContrib.source\src\MvcContrib.TestHelper\MvcContrib.TestHelper\ActionResultHelper.cs(24,0): at MvcContrib.TestHelper.ActionResultHelper.AssertResultIs[T](ActionResult result)
C:\Users\dlaub\Downloads\MVCContrib.source\src\MvcContrib.TestHelper\MvcContrib.TestHelper\ActionResultHelper.cs(67,0): at MvcContrib.TestHelper.ActionResultHelper.AssertActionRedirect(ActionResult result)
StarsControllerTest.cs(65,0): at MvcContrib.TestHelper.Sample.StarsControllerTest.NearbyShouldRedirectToListWithLinks()
2 passed, 3 failed, 0 skipped, took 5.41 seconds (NUnit 2.6.0).

comments