Skip to content

Commit

Permalink
Fix failing tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Ndiritu committed Oct 30, 2024
1 parent 7007775 commit 7e6715b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ public AuthorizationHandlerTests()
.Returns(new Task<string>(() => _expectedAccessTokenAfterCAE));

mockAccessTokenProvider.Setup(x => x.AllowedHostsValidator).Returns(
new AllowedHostsValidator(new List<string> { "https://graph.microsoft.com" })
new AllowedHostsValidator(new List<string> { "graph.microsoft.com" })
);
this._mockAccessTokenProvider = mockAccessTokenProvider.Object;
this._authenticationProvider = new BaseBearerTokenAuthenticationProvider(_mockAccessTokenProvider!);
Expand Down

0 comments on commit 7e6715b

Please sign in to comment.