stages/invitation: fix tests
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
parent
788cd401f6
commit
7cbd5174f0
|
@ -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)
|
||||
|
|
Reference in a new issue