From 7cbd5174f01a50675ea6cbf080903ad20086d62b Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Sat, 26 Mar 2022 19:12:19 +0100 Subject: [PATCH] stages/invitation: fix tests Signed-off-by: Jens Langhammer --- authentik/stages/invitation/tests.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/authentik/stages/invitation/tests.py b/authentik/stages/invitation/tests.py index 66f46b0e6..43420f6e8 100644 --- a/authentik/stages/invitation/tests.py +++ b/authentik/stages/invitation/tests.py @@ -145,7 +145,7 @@ class TestInvitationsAPI(APITestCase): """Test Invitations creation endpoint""" response = self.client.post( reverse("authentik_api:invitation-list"), - {"identifier": "test-token", "fixed_data": {}}, + {"name": "test-token", "fixed_data": {}}, format="json", ) self.assertEqual(response.status_code, 201)