From 2a1a69424d968088d8201a900be2679c64e4aa74 Mon Sep 17 00:00:00 2001 From: Raman Maksimchuk Date: Tue, 16 Apr 2024 21:09:55 +0300 Subject: [PATCH] Fix test: Should_return_OK_status_and_multiline_indented_json_response_with_json_options_for_custom_builder --- test/Ocelot.IntegrationTests/AdministrationTests.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/Ocelot.IntegrationTests/AdministrationTests.cs b/test/Ocelot.IntegrationTests/AdministrationTests.cs index 4fc91e0a8e..8bb2630900 100644 --- a/test/Ocelot.IntegrationTests/AdministrationTests.cs +++ b/test/Ocelot.IntegrationTests/AdministrationTests.cs @@ -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()