Skip to content
This repository was archived by the owner on Nov 4, 2021. It is now read-only.

Commit 56398b1

Browse files
committed
fixing tests
1 parent 32ed58a commit 56398b1

File tree

1 file changed

+13
-20
lines changed

1 file changed

+13
-20
lines changed

tests/ElasticEngineTest.php

Lines changed: 13 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -606,7 +606,6 @@ public function test_if_the_search_method_with_specified_whereRegexp_clause_buil
606606
$this->addToAssertionCount(1);
607607
}
608608

609-
610609
public function test_if_the_search_method_with_specified_whereGeoDistance_clause_builds_correct_payload()
611610
{
612611
$this->mockClient()
@@ -626,11 +625,9 @@ public function test_if_the_search_method_with_specified_whereGeoDistance_clause
626625
'bool' => [
627626
'must' => [
628627
[
629-
[
630-
'geo_distance' => [
631-
'distance' => 1000,
632-
'location' => [-70, 40]
633-
]
628+
'geo_distance' => [
629+
'distance' => 1000,
630+
'location' => [-70, 40]
634631
]
635632
]
636633
]
@@ -674,12 +671,10 @@ public function test_if_the_search_method_with_specified_whereGeoBoundingBox_cla
674671
'bool' => [
675672
'must' => [
676673
[
677-
[
678-
'geo_bounding_box' => [
679-
'location' => [
680-
"top_left" => [-74.1, 40.73],
681-
"bottom_right" => [-71.12, 40.01]
682-
]
674+
'geo_bounding_box' => [
675+
'location' => [
676+
"top_left" => [-74.1, 40.73],
677+
"bottom_right" => [-71.12, 40.01]
683678
]
684679
]
685680
]
@@ -726,14 +721,12 @@ public function test_if_the_search_method_with_specified_whereGeoPolygon_clause_
726721
'bool' => [
727722
'must' => [
728723
[
729-
[
730-
'geo_polygon' => [
731-
'location' => [
732-
'points' => [
733-
[-70, 40],
734-
[-80, 30],
735-
[-90, 20]
736-
]
724+
'geo_polygon' => [
725+
'location' => [
726+
'points' => [
727+
[-70, 40],
728+
[-80, 30],
729+
[-90, 20]
737730
]
738731
]
739732
]

0 commit comments

Comments
 (0)