From a1ba5aa27f73667b19ec708ff373a99417337697 Mon Sep 17 00:00:00 2001 From: Marc 'risson' Schmitt Date: Wed, 3 Jan 2024 12:12:26 +0100 Subject: [PATCH] fix scim tests Signed-off-by: Marc 'risson' Schmitt --- authentik/providers/scim/tests/test_membership.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/authentik/providers/scim/tests/test_membership.py b/authentik/providers/scim/tests/test_membership.py index 8c792d0cc..c6a6d8951 100644 --- a/authentik/providers/scim/tests/test_membership.py +++ b/authentik/providers/scim/tests/test_membership.py @@ -9,6 +9,7 @@ from authentik.lib.generators import generate_id from authentik.providers.scim.clients.schema import ServiceProviderConfiguration from authentik.providers.scim.models import SCIMMapping, SCIMProvider from authentik.providers.scim.tasks import scim_sync +from authentik.tenants.models import Tenant class SCIMMembershipTests(TestCase): @@ -22,6 +23,7 @@ class SCIMMembershipTests(TestCase): # which will cause errors with multiple users User.objects.all().exclude(pk=get_anonymous_user().pk).delete() Group.objects.all().delete() + Tenant.objects.update(avatars="none") @apply_blueprint("system/providers-scim.yaml") def configure(self) -> None: