Skip to content

Commit

Permalink
Adjust test
Browse files Browse the repository at this point in the history
  • Loading branch information
webjunkie committed Jan 10, 2024
1 parent e885d07 commit d6e866f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion posthog/api/test/test_query.py
Original file line number Diff line number Diff line change
Expand Up @@ -696,7 +696,7 @@ def test_invalid_query_kind(self):
api_response = self.client.post(f"/api/projects/{self.team.id}/query/", {"query": {"kind": "Tomato Soup"}})
assert api_response.status_code == 400
assert api_response.json()["code"] == "parse_error"
assert "validation errors for QuerySchema" in api_response.json()["detail"]
assert "1 validation error for QueryRequest" in api_response.json()["detail"]
assert "type=literal_error, input_value='Tomato Soup'" in api_response.json()["detail"]

@snapshot_clickhouse_queries
Expand Down

0 comments on commit d6e866f

Please sign in to comment.