diff --git a/posthog/hogql_queries/test/test_persons_query_runner.py b/posthog/hogql_queries/test/test_persons_query_runner.py index 7460d8cd728b7..77ac274cb44e0 100644 --- a/posthog/hogql_queries/test/test_persons_query_runner.py +++ b/posthog/hogql_queries/test/test_persons_query_runner.py @@ -12,6 +12,7 @@ DateRange, EventsNode, IntervalType, + InsightPersonsQuery, ) from posthog.test.base import ( APIBaseTest, @@ -204,7 +205,7 @@ def test_source_lifecycle_query(self): query = PersonsQuery( select=["properties.email"], orderBy=["properties.email DESC"], - source=source_query, + source=InsightPersonsQuery(source=source_query), ) runner = self._create_runner(query) response = runner.calculate()