Skip to content

Commit

Permalink
Fix test: Should_return_OK_status_and_multiline_indented_json_respons…
Browse files Browse the repository at this point in the history
…e_with_json_options_for_custom_builder
  • Loading branch information
raman-m committed Apr 16, 2024
1 parent f66b661 commit 2a1a694
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/Ocelot.IntegrationTests/AdministrationTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -884,7 +884,7 @@ private void ThenTheResultHaveMultiLineIndentedJson()
const string indent = " ";
const int total = 46, skip = 1;
var lines = _response.Content.ReadAsStringAsync().Result.Split(Environment.NewLine);
lines.Length.ShouldBe(total);
lines.Length.ShouldBeGreaterThanOrEqualTo(total);
lines.First().ShouldNotStartWith(indent);

lines.Skip(skip).Take(total - skip - 1).ToList()
Expand Down

0 comments on commit 2a1a694

Please sign in to comment.