From 581f895b2acd83ccb9cc3f8c3b7143ff71f195da Mon Sep 17 00:00:00 2001 From: Rafa Audibert Date: Mon, 16 Dec 2024 18:50:46 -0300 Subject: [PATCH] fix: fix broken test --- posthog/hogql_queries/web_analytics/external_clicks.py | 2 +- posthog/test/test_schema_helpers.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/posthog/hogql_queries/web_analytics/external_clicks.py b/posthog/hogql_queries/web_analytics/external_clicks.py index c28940f15d7e9..35f3376d6c4f6 100644 --- a/posthog/hogql_queries/web_analytics/external_clicks.py +++ b/posthog/hogql_queries/web_analytics/external_clicks.py @@ -50,7 +50,7 @@ def to_query(self) -> ast.SelectQuery: any(person_id) AS filtered_person_id, count() AS filtered_click_count, {url_expr} AS url, - MIN(session.$timestamp) AS start_timestamp + MIN(session.$start_timestamp) AS start_timestamp FROM events WHERE and( events.event == '$autocapture', diff --git a/posthog/test/test_schema_helpers.py b/posthog/test/test_schema_helpers.py index a7a7303f57a20..38ef8866ebce5 100644 --- a/posthog/test/test_schema_helpers.py +++ b/posthog/test/test_schema_helpers.py @@ -129,7 +129,7 @@ def _assert_filter(self, key: str, num_keys: int, q1: BaseModel, q2: BaseModel): @parameterized.expand( [ - ({}, {"date_from": "-7d", "explicitDate": False}, 0), + ({}, {"explicitDate": False}, 0), ({"date_to": "2024-02-02"}, {"date_to": "2024-02-02"}, 1), ] )