Skip to content

Commit

Permalink
[TEST] Change array syntax to be PHP 5.3 compatible
Browse files Browse the repository at this point in the history
Accidentally leaked short array syntax into the tests, which breaks
5.3 tests.

PHP 5.3 is why we can't have nice things :(
  • Loading branch information
polyfractal committed Apr 16, 2014
1 parent 4020db6 commit f884c54
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/Elasticsearch/Tests/ClientTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -338,7 +338,7 @@ public function testHTTPS()
$client = new Elasticsearch\Client($params);

try {
$client->exists(['index' => 't', 'type' => 't', 'id' => 1]);
$client->exists(array('index' => 't', 'type' => 't', 'id' => 1));
} catch (\Exception $e) {

}
Expand Down
2 changes: 1 addition & 1 deletion util/elasticsearch

0 comments on commit f884c54

Please sign in to comment.