Fixing tests after ElmMiddleware change

This commit is contained in:
Praburaj 2015-03-24 10:55:10 -07:00
parent cb159a678a
commit ac63ee96ae
1 changed files with 3 additions and 0 deletions

View File

@ -210,6 +210,9 @@ namespace Microsoft.AspNet.Diagnostics.Tests
contextMock
.Setup(c => c.Request.ReadFormAsync(It.IsAny<System.Threading.CancellationToken>()))
.Returns(Task.FromResult(new Mock<IFormCollection>().Object));
contextMock
.Setup(c => c.Request.HasFormContentType)
.Returns(true);
return contextMock;
}