Skip to content

Commit

Permalink
Fix $session_duration test
Browse files Browse the repository at this point in the history
  • Loading branch information
robbie-c committed Apr 16, 2024
1 parent f81bc81 commit a85c6a8
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions posthog/hogql/test/test_query.py
Original file line number Diff line number Diff line change
Expand Up @@ -1452,9 +1452,7 @@ def test_events_sessions_table(self):
properties={"$session_id": random_uuid},
)

query = (
"SELECT session.session_id, session.duration from events WHERE distinct_id={distinct_id} order by timestamp"
)
query = "SELECT session.session_id, session.$session_duration from events WHERE distinct_id={distinct_id} order by timestamp"
response = execute_hogql_query(
query, team=self.team, placeholders={"distinct_id": ast.Constant(value=random_uuid)}
)
Expand Down

0 comments on commit a85c6a8

Please sign in to comment.