fix: fix test_get_azure_ad_token_with_oidc_token testcase issue, because (#11988)

CI/CD pipeline setup AZURE_CLIENT_SECRET within enviroment variable, so
we need to setup as None in this case
This commit is contained in:
hsuyuming 2025-06-23 19:11:06 -06:00 • committed by GitHub
parent b5c48c8c22
commit 180ed14918
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1237,6 +1237,7 @@ def test_get_azure_ad_token_with_oidc_token(setup_mocks):
azure_scope="test-azure-scope",
# Ensure no other auth methods are available
azure_ad_token_provider=None,
client_secret=None
)
# Call the function