From 1f2dc70602c80869f679271773b9ee85dbe9951c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonas=20Kr=C3=BCger=20Svensson?= Date: Thu, 30 Mar 2023 16:10:00 +0200 Subject: [PATCH] tests: fix test --- tests/test_authentication.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_authentication.py b/tests/test_authentication.py index 7ee302d..9843441 100644 --- a/tests/test_authentication.py +++ b/tests/test_authentication.py @@ -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()):