Skip to content

Commit 61f62d8

Browse files
committed
[TEST] Add ignore to custom param since ES now validates extraneous uri params
1 parent 2ab3971 commit 61f62d8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/Elasticsearch/Tests/ClientTest.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,8 @@ public function testCustomQueryParams()
4343
'type' => 'test',
4444
'id' => 1,
4545
'parent' => 'abc',
46-
'custom' => array('customToken' => 'abc', 'otherToken' => 123)
46+
'custom' => array('customToken' => 'abc', 'otherToken' => 123),
47+
'client' => ['ignore' => 400]
4748
);
4849
$exists = $client->exists($getParams);
4950
}

0 commit comments

Comments
 (0)