We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 97b151f commit 44dadb1Copy full SHA for 44dadb1
test/Microsoft.AspNet.Diagnostics.Tests/ElmMiddlewareTest.cs
@@ -205,8 +205,8 @@ private Mock<HttpContext> GetMockContext(string path)
205
.SetupGet(c => c.Request.Cookies)
206
.Returns(new Mock<IReadableStringCollection>().Object);
207
contextMock
208
- .Setup(c => c.Request.GetFormAsync(It.IsAny<System.Threading.CancellationToken>()))
209
- .Returns(Task.FromResult(new Mock<IReadableStringCollection>().Object));
+ .Setup(c => c.Request.ReadFormAsync(It.IsAny<System.Threading.CancellationToken>()))
+ .Returns(Task.FromResult(new Mock<IFormCollection>().Object));
210
211
return contextMock;
212
}
0 commit comments