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!);