Skip to content

Commit eece492

Browse files
author
Vincent Le Henaff
committed
+ fix exprOp test
1 parent 4285401 commit eece492

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
@@ -195,9 +195,9 @@ public static function provideExpressionOperators(): array
195195
'args' => ['$field'],
196196
],
197197
'exprOp' => [
198-
'expected' => ['$expr' => '$array'],
198+
'expected' => ['$expr' => ['$eq' => ['$field', '$otherField']]],
199199
'operator' => 'expr',
200-
'args' => ['$array'],
200+
'args' => [['$eq' => ['$field', '$otherField']]],
201201
],
202202
'filter' => [
203203
'expected' => ['$filter' => ['input' => '$array', 'as' => '$as', 'cond' => '$cond']],

0 commit comments

Comments
 (0)