fixing test failures

This commit is contained in:
SonjaKhan 2014-12-08 10:38:00 -08:00
parent 234c9ec935
commit 62ec496aa3
1 changed files with 3 additions and 0 deletions

View File

@ -204,6 +204,9 @@ namespace Microsoft.AspNet.Diagnostics.Tests
contextMock
.SetupGet(c => c.Request.Cookies)
.Returns(new Mock<IReadableStringCollection>().Object);
contextMock
.Setup(c => c.Request.GetFormAsync(It.IsAny<System.Threading.CancellationToken>()))
.Returns(Task.FromResult(new Mock<IReadableStringCollection>().Object));
return contextMock;
}