api: fix unittests

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
Jens Langhammer
2021-05-16 22:36:26 +02:00
parent ae6a406b1d
commit f9ce41229d
3 changed files with 2 additions and 3 deletions

View File

@ -11,6 +11,6 @@ class TestConfig(APITestCase):
def test_config(self):
"""Test YAML generation"""
response = self.client.get(
reverse("authentik_api:configs"),
reverse("authentik_api:config"),
)
self.assertTrue(loads(response.content.decode()))