Skip to content

Commit

Permalink
[TEST] Add ignore to custom param since ES now validates extraneous u…
Browse files Browse the repository at this point in the history
…ri params
  • Loading branch information
polyfractal committed Oct 25, 2016
1 parent 2ab3971 commit 61f62d8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/Elasticsearch/Tests/ClientTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,8 @@ public function testCustomQueryParams()
'type' => 'test',
'id' => 1,
'parent' => 'abc',
'custom' => array('customToken' => 'abc', 'otherToken' => 123)
'custom' => array('customToken' => 'abc', 'otherToken' => 123),
'client' => ['ignore' => 400]
);
$exists = $client->exists($getParams);
}
Expand Down

0 comments on commit 61f62d8

Please sign in to comment.