We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ca58de1 commit d4dfa8cCopy full SHA for d4dfa8c
test/Sample.Functions.Tests/Fixtures/FunctionFixture.cs
@@ -43,7 +43,7 @@ public FunctionFixture()
43
.Callback((LogLevel l, EventId e, object o, Exception ex, Func<object, Exception, string> f) => this.LogMessage.Critical = o.ToString());
44
45
this.ServiceLocator = new Mock<IServiceLocator>();
46
- this.ServiceLocator.Setup(p => p.GetInstance<JsonMediaTypeFormatter>()).Returns(new JsonMediaTypeFormatter());
+ this.ServiceLocator.Setup(p => p.GetInstance<MediaTypeFormatter>()).Returns(new JsonMediaTypeFormatter());
47
48
this.FunctionAppSettings = new Mock<IFunctionAppSettings>();
49
}
0 commit comments