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"""
|
"""Test Invitations creation endpoint"""
|
||||||
response = self.client.post(
|
response = self.client.post(
|
||||||
reverse("authentik_api:invitation-list"),
|
reverse("authentik_api:invitation-list"),
|
||||||
{"identifier": "test-token", "fixed_data": {}},
|
{"name": "test-token", "fixed_data": {}},
|
||||||
format="json",
|
format="json",
|
||||||
)
|
)
|
||||||
self.assertEqual(response.status_code, 201)
|
self.assertEqual(response.status_code, 201)
|
||||||
|
|
Reference in a new issue