fix a build break due to api change

This commit is contained in:
Ryan Nowak 2014-06-06 11:06:41 -07:00
parent a3314a4805
commit bd08a2ca62
1 changed files with 6 additions and 2 deletions

View File

@ -16,9 +16,13 @@ namespace Microsoft.AspNet.Mvc.Core.Test.ActionResults
var httpContext = new Mock<HttpContext>();
var httpResponse = new Mock<HttpResponse>();
httpContext.Setup(o => o.Response).Returns(httpResponse.Object);
var routeData = new RouteData();
routeData.Values = new Dictionary<string, object>();
routeData.Routers.Add(Mock.Of<IRouter>());
var actionContext = new ActionContext(httpContext.Object,
Mock.Of<IRouter>(),
new Dictionary<string, object>(),
routeData,
new ActionDescriptor());
// Act