diff --git a/posthog/api/test/test_search.py b/posthog/api/test/test_search.py index 543d2d5adc048..36f31c8ec9ef4 100644 --- a/posthog/api/test/test_search.py +++ b/posthog/api/test/test_search.py @@ -74,11 +74,7 @@ def test_response_format_and_ids(self): "rank": response.json()["results"][1]["rank"], "type": "insight", "result_id": self.insight_1.short_id, - "extra_fields": { - "derived_name": None, - "name": "second insight", - "description": None, - }, + "extra_fields": {"name": "second insight", "description": None, "filters": {}, "query": None}, }, ) @@ -88,7 +84,7 @@ def test_extra_fields(self): self.assertEqual(response.status_code, 200) self.assertEqual( response.json()["results"][0]["extra_fields"], - {"derived_name": "derived name", "description": None, "name": None}, + {"name": None, "description": None, "filters": {}, "query": None}, ) def test_search_with_fully_invalid_query(self):