Skip to content

Commit

Permalink
tests: fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
JonasKs committed Mar 30, 2023
1 parent 77aedee commit 1f2dc70
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_authentication.py
Original file line number Diff line number Diff line change
Expand Up @@ -483,7 +483,7 @@ def test_scopes_generated_correctly(self):
del settings.AUTH_ADFS["SERVER"]
settings.AUTH_ADFS["TENANT_ID"] = "dummy_tenant_id"
settings.AUTH_ADFS["VERSION"] = 'v2.0'
settings.AUTH_ADFS["SCOPES"] = ['openid api://your-configured-client-id/user_impersonation']
settings.AUTH_ADFS["SCOPES"] = ['openid', 'api://your-configured-client-id/user_impersonation']
with patch("django_auth_adfs.config.django_settings", settings), \
patch("django_auth_adfs.config.settings", Settings()), \
patch("django_auth_adfs.views.provider_config", ProviderConfig()):
Expand Down

0 comments on commit 1f2dc70

Please sign in to comment.