Skip to content

Commit 6b8aee1

Browse files
committed
new Query() without null connection
1 parent 6282cdf commit 6b8aee1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/ESQueryTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ public function testQueryForDistanceFilter()
4646

4747
$expected_query = $this->prepareExpectedQueryWithDistanceFilter($geo_point, $distance);
4848

49-
$query = new Query(null);
49+
$query = new Query();
5050

5151
$actual_query = $query->index($this->index)
5252
->type($this->type)
@@ -61,7 +61,7 @@ public function testQueryForDistanceFilter()
6161
// to cause actual results to differ from the expected results.
6262
$distance = '20km';
6363

64-
$query = new Query(null);
64+
$query = new Query();
6565

6666
$actual_query = $query->index($this->index)
6767
->type($this->type)

0 commit comments

Comments
 (0)