From 45bee4b4dc754b26623675f3d1e284e0d471dafc Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Sun, 8 Aug 2021 17:14:05 +0200 Subject: [PATCH] outposts: fix test for config validation Signed-off-by: Jens Langhammer --- authentik/outposts/tests/test_api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/authentik/outposts/tests/test_api.py b/authentik/outposts/tests/test_api.py index 483a4e50b..dc7cb57bb 100644 --- a/authentik/outposts/tests/test_api.py +++ b/authentik/outposts/tests/test_api.py @@ -63,7 +63,7 @@ class TestOutpostServiceConnectionsAPI(APITestCase): provider = ProxyProvider.objects.create( name="test", authorization_flow=Flow.objects.first() ) - invalid = OutpostSerializer(data={"name": "foo", "providers": [provider.pk], "config": {}}) + invalid = OutpostSerializer(data={"name": "foo", "providers": [provider.pk], "config": ""}) self.assertFalse(invalid.is_valid()) self.assertIn("config", invalid.errors) valid = OutpostSerializer(