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 5f996f9 commit 10bb742Copy full SHA for 10bb742
src/AspNetCore.Tests/QueryMiddlewareTests.cs
@@ -56,6 +56,21 @@ public async Task HttpGet_BasicTest()
56
Assert.Equal(Snapshot.Current(), Snapshot.New(result));
57
}
58
59
+ [Fact]
60
+ public async Task HttpGet_ForwardToNextMiddleware()
61
+ {
62
+ // arrange
63
+ TestServer server = CreateTestServer();
64
+ string query = "{ basic { a } }";
65
+
66
+ // act
67
+ HttpResponseMessage message = await server.CreateClient()
68
+ .GetAsync($"http://localhost:5000/1234");
69
70
+ // assert
71
+ Assert.Equal(HttpStatusCode.NotFound, message.StatusCode);
72
+ }
73
74
[Fact]
75
public async Task HttpPost_WithScalarVariables()
76
{
0 commit comments