From 7e6715b63e1930be608745e6a8ebd67b41d8c6d3 Mon Sep 17 00:00:00 2001 From: Philip Gichuhi Date: Wed, 30 Oct 2024 14:17:03 +0200 Subject: [PATCH] Fix failing tests --- tests/http/httpClient/Middleware/AuthorizationHandlerTests.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/http/httpClient/Middleware/AuthorizationHandlerTests.cs b/tests/http/httpClient/Middleware/AuthorizationHandlerTests.cs index a1ae87b..bed9803 100644 --- a/tests/http/httpClient/Middleware/AuthorizationHandlerTests.cs +++ b/tests/http/httpClient/Middleware/AuthorizationHandlerTests.cs @@ -38,7 +38,7 @@ public AuthorizationHandlerTests() .Returns(new Task(() => _expectedAccessTokenAfterCAE)); mockAccessTokenProvider.Setup(x => x.AllowedHostsValidator).Returns( - new AllowedHostsValidator(new List { "https://graph.microsoft.com" }) + new AllowedHostsValidator(new List { "graph.microsoft.com" }) ); this._mockAccessTokenProvider = mockAccessTokenProvider.Object; this._authenticationProvider = new BaseBearerTokenAuthenticationProvider(_mockAccessTokenProvider!);