This repository was archived by the owner on Nov 4, 2021. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +13
-20
lines changed Expand file tree Collapse file tree 1 file changed +13
-20
lines changed Original file line number Diff line number Diff line change @@ -606,7 +606,6 @@ public function test_if_the_search_method_with_specified_whereRegexp_clause_buil
606
606
$ this ->addToAssertionCount (1 );
607
607
}
608
608
609
-
610
609
public function test_if_the_search_method_with_specified_whereGeoDistance_clause_builds_correct_payload ()
611
610
{
612
611
$ this ->mockClient ()
@@ -626,11 +625,9 @@ public function test_if_the_search_method_with_specified_whereGeoDistance_clause
626
625
'bool ' => [
627
626
'must ' => [
628
627
[
629
- [
630
- 'geo_distance ' => [
631
- 'distance ' => 1000 ,
632
- 'location ' => [-70 , 40 ]
633
- ]
628
+ 'geo_distance ' => [
629
+ 'distance ' => 1000 ,
630
+ 'location ' => [-70 , 40 ]
634
631
]
635
632
]
636
633
]
@@ -674,12 +671,10 @@ public function test_if_the_search_method_with_specified_whereGeoBoundingBox_cla
674
671
'bool ' => [
675
672
'must ' => [
676
673
[
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 ]
683
678
]
684
679
]
685
680
]
@@ -726,14 +721,12 @@ public function test_if_the_search_method_with_specified_whereGeoPolygon_clause_
726
721
'bool ' => [
727
722
'must ' => [
728
723
[
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 ]
737
730
]
738
731
]
739
732
]
You can’t perform that action at this time.
0 commit comments