From 0c75a3d1ae36b2d9c864df5c9585e593c7ece139 Mon Sep 17 00:00:00 2001 From: Tom Owers Date: Wed, 24 Apr 2024 17:51:11 +0100 Subject: [PATCH] Fixed tests --- posthog/warehouse/api/test/test_external_data_source.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/posthog/warehouse/api/test/test_external_data_source.py b/posthog/warehouse/api/test/test_external_data_source.py index ef84a5e1bc8df..1c23807b82328 100644 --- a/posthog/warehouse/api/test/test_external_data_source.py +++ b/posthog/warehouse/api/test/test_external_data_source.py @@ -228,7 +228,7 @@ def test_internal_postgres(self, patch_get_postgres_schemas): }, ) self.assertEqual(response.status_code, 200) - self.assertEqual(response.json(), [{"should_sync": False, "table": "table_1"}]) + self.assertEqual(response.json(), [{"should_sync": True, "table": "table_1"}]) new_team = Team.objects.create(name="new_team", organization=self.team.organization) @@ -262,7 +262,7 @@ def test_internal_postgres(self, patch_get_postgres_schemas): }, ) self.assertEqual(response.status_code, 200) - self.assertEqual(response.json(), [{"should_sync": False, "table": "table_1"}]) + self.assertEqual(response.json(), [{"should_sync": True, "table": "table_1"}]) new_team = Team.objects.create(name="new_team", organization=self.team.organization)