Skip to content

Commit d5bd06b

Browse files
committed
Fix unit test
1 parent 74fb6f9 commit d5bd06b

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

tests/model_fields_/test_embedded_model_array.py

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -327,8 +327,18 @@ def test_nested_array_index_expr(self):
327327
},
328328
{
329329
"$concat": [
330-
{"$ifNull": ["Z", ""]},
331-
{"$ifNull": ["acarias", ""]},
330+
{
331+
"$ifNull": [
332+
{"$literal": "Z"},
333+
{"$literal": ""},
334+
]
335+
},
336+
{
337+
"$ifNull": [
338+
{"$literal": "acarias"},
339+
{"$literal": ""},
340+
]
341+
},
332342
]
333343
},
334344
]

0 commit comments

Comments
 (0)