diff --git a/tests/http/httpClient/Middleware/BodyInspectionHandlerTests.cs b/tests/http/httpClient/Middleware/BodyInspectionHandlerTests.cs index a4eba43..6341d1b 100644 --- a/tests/http/httpClient/Middleware/BodyInspectionHandlerTests.cs +++ b/tests/http/httpClient/Middleware/BodyInspectionHandlerTests.cs @@ -33,6 +33,7 @@ public async Task BodyInspectionHandlerGetsRequestBodyStream() // Then Assert.NotNull(option.RequestBody); Assert.Equal("request test", GetStringFromStream(option.RequestBody!)); + Assert.Equal("request test", await request.Content.ReadAsStringAsync()); // response from option is separate from "normal" request stream } [Fact]