From 911942f0cfd0f27758abcb822b06845170e334e0 Mon Sep 17 00:00:00 2001 From: Marius Andra Date: Fri, 27 Oct 2023 09:37:49 +0200 Subject: [PATCH] fix test --- posthog/hogql_queries/test/test_persons_query_runner.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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()