diff --git a/posthog/hogql/test/test_filters.py b/posthog/hogql/test/test_filters.py index 809cfd5b7844c..3dd558161f171 100644 --- a/posthog/hogql/test/test_filters.py +++ b/posthog/hogql/test/test_filters.py @@ -41,7 +41,9 @@ def test_replace_filters_empty(self): HogQLFilters(), self.team, ) - self.assertEqual(self._print_ast(select), f"SELECT event FROM events WHERE 1 LIMIT {MAX_SELECT_RETURNED_ROWS}") + self.assertEqual( + self._print_ast(select), f"SELECT event FROM events WHERE true LIMIT {MAX_SELECT_RETURNED_ROWS}" + ) def test_replace_filters_date_range(self): select = replace_filters( diff --git a/posthog/hogql/test/test_query.py b/posthog/hogql/test/test_query.py index f9abd7375d02b..7961023e0af3a 100644 --- a/posthog/hogql/test/test_query.py +++ b/posthog/hogql/test/test_query.py @@ -1380,7 +1380,7 @@ def test_hogql_query_filters_empty_true(self): team=self.team, pretty=False, ) - self.assertEqual(response.hogql, "SELECT event FROM events WHERE 1 LIMIT 100") + self.assertEqual(response.hogql, "SELECT event FROM events WHERE true LIMIT 100") def test_hogql_query_filters_double_error(self): query = "SELECT event from events where {filters}"