diff --git a/posthog/api/test/test_query.py b/posthog/api/test/test_query.py index d8bdb746a67b4..b31393316562a 100644 --- a/posthog/api/test/test_query.py +++ b/posthog/api/test/test_query.py @@ -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