Skip to content

Commit e1c680a

Browse files
committed
Fix test_db_column_name_is_used_in_raw_query
1 parent 29abd5a commit e1c680a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/raw_query/tests.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -392,7 +392,7 @@ def test_db_column_name_is_used_in_raw_query(self):
392392
self.assertEqual(
393393
list(
394394
BookFkAsPk.objects.raw_mql(
395-
[{"$project": { "not_the_default": 1}}]
395+
[{"$project": { "not_the_default": 1, "_id": 0 }}]
396396
)
397397
),
398398
[b],

0 commit comments

Comments
 (0)