From e1c680a3da45d3a2eda79e3242c2b373a63a2070 Mon Sep 17 00:00:00 2001 From: "Jeffrey A. Clark" Date: Mon, 11 Nov 2024 14:47:16 -0500 Subject: [PATCH] Fix test_db_column_name_is_used_in_raw_query --- tests/raw_query/tests.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/raw_query/tests.py b/tests/raw_query/tests.py index 6c91032c3d..79712f7bea 100644 --- a/tests/raw_query/tests.py +++ b/tests/raw_query/tests.py @@ -392,7 +392,7 @@ def test_db_column_name_is_used_in_raw_query(self): self.assertEqual( list( BookFkAsPk.objects.raw_mql( - [{"$project": { "not_the_default": 1}}] + [{"$project": { "not_the_default": 1, "_id": 0 }}] ) ), [b],