Skip to content

Commit

Permalink
Fixed tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Gilbert09 committed Apr 24, 2024
1 parent bf1446f commit 0c75a3d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions posthog/warehouse/api/test/test_external_data_source.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down Expand Up @@ -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)

Expand Down

0 comments on commit 0c75a3d

Please sign in to comment.