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 639ad56 commit 98d3950Copy full SHA for 98d3950
test/OpenApiKiotaEndToEndTests/Headers/ETagTests.cs
@@ -53,6 +53,13 @@ await _testContext.RunOnDatabaseAsync(async dbContext =>
53
Stream? response = await apiClient.Countries.HeadAsync(configuration => configuration.Options.Add(headerInspector));
54
55
// Assert
56
+
57
+ if (response != null)
58
+ {
59
+ string content = await new StreamReader(response).ReadToEndAsync();
60
+ true.Should().BeFalse(content);
61
+ }
62
63
response.Should().BeNull();
64
65
headerInspector.ResponseHeaders.Should().ContainKey(HeaderNames.ETag).WhoseValue.Should().NotBeNullOrEmpty();
0 commit comments