Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
benjackwhite committed Dec 6, 2024
1 parent 26c2bcf commit 81d3f3a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions posthog/api/test/test_decide.py
Original file line number Diff line number Diff line change
Expand Up @@ -666,7 +666,7 @@ def test_web_app_queries(self, *args):

# caching flag definitions in the above mean fewer queries
# 3 of these queries are just for setting transaction scope
with self.assertNumQueries(8):
with self.assertNumQueries(4):
response = self._post_decide()
self.assertEqual(response.status_code, status.HTTP_200_OK)
injected = response.json()["siteApps"]
Expand All @@ -691,7 +691,7 @@ def test_site_app_injection(self, *args):
)
self.team.refresh_from_db()
self.assertTrue(self.team.inject_web_apps)
with self.assertNumQueries(9):
with self.assertNumQueries(5):
response = self._post_decide()
self.assertEqual(response.status_code, status.HTTP_200_OK)
injected = response.json()["siteApps"]
Expand Down

0 comments on commit 81d3f3a

Please sign in to comment.