Skip to content

Commit 906d5bc

Browse files
Vincent Le Henaffvincent-le-henaff
authored andcommitted
+ fix exprOp test
1 parent fb14785 commit 906d5bc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/Doctrine/ODM/MongoDB/Tests/Aggregation/AggregationOperatorsProviderTrait.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -193,9 +193,9 @@ public static function provideExpressionOperators(): array
193193
'args' => ['$field'],
194194
],
195195
'exprOp' => [
196-
'expected' => ['$expr' => '$array'],
196+
'expected' => ['$expr' => ['$eq' => ['$field', '$otherField']]],
197197
'operator' => 'expr',
198-
'args' => ['$array'],
198+
'args' => [['$eq' => ['$field', '$otherField']]],
199199
],
200200
'filter' => [
201201
'expected' => ['$filter' => ['input' => '$array', 'as' => '$as', 'cond' => '$cond']],

0 commit comments

Comments
 (0)