stages/invitation: fix tests

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
Jens Langhammer 2022-03-26 19:12:19 +01:00
parent 788cd401f6
commit 7cbd5174f0
1 changed files with 1 additions and 1 deletions

View File

@ -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)