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)