diff --git a/UrlsAndRoutes/UrlsAndRoutes.Tests/RouteTests.cs b/UrlsAndRoutes/UrlsAndRoutes.Tests/RouteTests.cs index 097e115..810dfbf 100644 --- a/UrlsAndRoutes/UrlsAndRoutes.Tests/RouteTests.cs +++ b/UrlsAndRoutes/UrlsAndRoutes.Tests/RouteTests.cs @@ -99,11 +99,12 @@ namespace UrlsAndRoutes.Tests [TestMethod] public void TestIncomingRoutes() { - TestRouteMatch("~/", "Home", "Index"); - TestRouteMatch("~/Customer", "Customer", "Index"); - TestRouteMatch("~/Customer/List", "Customer", "List"); - TestRouteFail("~/Customer/List/All"); - TestRouteMatch("~/Shop/Index", "Home", "Index"); + TestRouteMatch("~/", "Home", "Index", new { id = "DefaultId" }); + TestRouteMatch("~/Customer", "Customer", "index", new { id = "DefaultId" }); + TestRouteMatch("~/Customer/List", "Customer", "List", + new { id = "DefaultId" }); + TestRouteMatch("~/Customer/List/All", "Customer", "List", new { id = "All" }); + TestRouteFail("~/Customer/List/All/Delete"); } } }