Skip to content

Commit d4dfa8c

Browse files
committed
Update fixture
1 parent ca58de1 commit d4dfa8c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/Sample.Functions.Tests/Fixtures/FunctionFixture.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ public FunctionFixture()
4343
.Callback((LogLevel l, EventId e, object o, Exception ex, Func<object, Exception, string> f) => this.LogMessage.Critical = o.ToString());
4444

4545
this.ServiceLocator = new Mock<IServiceLocator>();
46-
this.ServiceLocator.Setup(p => p.GetInstance<JsonMediaTypeFormatter>()).Returns(new JsonMediaTypeFormatter());
46+
this.ServiceLocator.Setup(p => p.GetInstance<MediaTypeFormatter>()).Returns(new JsonMediaTypeFormatter());
4747

4848
this.FunctionAppSettings = new Mock<IFunctionAppSettings>();
4949
}

0 commit comments

Comments
 (0)