From ee1708c8ba86d4de54b7708d24e429b8b3573a7a Mon Sep 17 00:00:00 2001 From: Mohammad Moattar Date: Tue, 13 Feb 2024 00:03:28 +0000 Subject: [PATCH] Fix two further tests --- .../Helpers/StartupForHealth.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Samples/LittleBlocks.Sample.WebAPI.IntegrationTests/Helpers/StartupForHealth.cs b/src/Samples/LittleBlocks.Sample.WebAPI.IntegrationTests/Helpers/StartupForHealth.cs index 168741b..7cbc670 100644 --- a/src/Samples/LittleBlocks.Sample.WebAPI.IntegrationTests/Helpers/StartupForHealth.cs +++ b/src/Samples/LittleBlocks.Sample.WebAPI.IntegrationTests/Helpers/StartupForHealth.cs @@ -60,7 +60,7 @@ public StartupForHealthy(IConfiguration configuration) : base(configuration) } protected override Action ConfigureHealth => - b => b.AddUrlGroup(new Uri("http://www.microsoft.com"), HttpMethod.Get, "microsoft"); + b => b.AddUrlGroup(new Uri("http://httpbin.org/status/200"), HttpMethod.Get, "microsoft"); } public sealed class StartupForUnhealthy : StartupForHealth @@ -72,7 +72,7 @@ public StartupForUnhealthy(IConfiguration configuration) : base(configuration) protected override Action ConfigureHealth => b => { - b.AddUrlGroup(new Uri("http://www.microsoft.com"), HttpMethod.Get, "microsoft"); - b.AddUrlGroup(new Uri("http://www.microsoftwithwrongurl.com"), HttpMethod.Get, "microsoftwithwrongurl"); + b.AddUrlGroup(new Uri("http://httpbin.org/status/200"), HttpMethod.Get, "microsoft"); + b.AddUrlGroup(new Uri("http://httpbintest.org/status/200"), HttpMethod.Get, "microsoftwithwrongurl"); }; }