Skip to content

Commit 9628295

Browse files
committed
TASK: Fix broken test due to modified query
1 parent dffa9d4 commit 9628295

1 file changed

Lines changed: 13 additions & 2 deletions

File tree

Tests/Unit/Eel/ElasticSearchQueryBuilderTest.php

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,19 @@ public function basicRequestStructureTakesContextNodeIntoAccount()
6464
'bool' => [
6565
'must' => [
6666
0 => [
67-
'term' => [
68-
'__parentPath' => '/foo/bar'
67+
'bool' => [
68+
'should' => [
69+
0 => [
70+
'term' => [
71+
'__parentPath' => '/foo/bar'
72+
]
73+
],
74+
1 => [
75+
'term' => [
76+
'__path' => '/foo/bar'
77+
]
78+
]
79+
]
6980
]
7081
],
7182
1 => [

0 commit comments

Comments
 (0)