Fix merge issue
This commit is contained in:
parent
76dceaef76
commit
77d9b41e48
|
|
@ -97,7 +97,6 @@ namespace Microsoft.AspNet.Mvc.ActionResults
|
||||||
httpContext.RequestServices = services.Object;
|
httpContext.RequestServices = services.Object;
|
||||||
|
|
||||||
var optionsAccessor = new TestOptionsManager<MvcOptions>();
|
var optionsAccessor = new TestOptionsManager<MvcOptions>();
|
||||||
var optionsAccessor = new MockMvcOptionsAccessor();
|
|
||||||
optionsAccessor.Value.OutputFormatters.Add(new StringOutputFormatter());
|
optionsAccessor.Value.OutputFormatters.Add(new StringOutputFormatter());
|
||||||
optionsAccessor.Value.OutputFormatters.Add(new JsonOutputFormatter());
|
optionsAccessor.Value.OutputFormatters.Add(new JsonOutputFormatter());
|
||||||
services.Setup(p => p.GetService(typeof(IOptions<MvcOptions>)))
|
services.Setup(p => p.GetService(typeof(IOptions<MvcOptions>)))
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue