Skip to content

Commit b5b22bd

Browse files
updated expected methods
1 parent f1d5c56 commit b5b22bd

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

tests/Base.php

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -118,14 +118,14 @@ abstract class Base extends TestCase
118118
'{"method":"createdAfter","values":["2023-01-01"]}',
119119
'{"method":"updatedBefore","values":["2023-01-01"]}',
120120
'{"method":"updatedAfter","values":["2023-01-01"]}',
121-
'{"method":"distanceEqual","attribute":"location","values":[40.7128,-74.0060],"distance":1000,"meters":false}',
122-
'{"method":"distanceEqual","attribute":"location","values":[40.7128,-74.0060],"distance":1000,"meters":true}',
123-
'{"method":"distanceNotEqual","attribute":"location","values":[40.7128,-74.0060],"distance":1000,"meters":false}',
124-
'{"method":"distanceNotEqual","attribute":"location","values":[40.7128,-74.0060],"distance":1000,"meters":true}',
125-
'{"method":"distanceGreaterThan","attribute":"location","values":[40.7128,-74.0060],"distance":1000,"meters":false}',
126-
'{"method":"distanceGreaterThan","attribute":"location","values":[40.7128,-74.0060],"distance":1000,"meters":true}',
127-
'{"method":"distanceLessThan","attribute":"location","values":[40.7128,-74.0060],"distance":1000,"meters":false}',
128-
'{"method":"distanceLessThan","attribute":"location","values":[40.7128,-74.0060],"distance":1000,"meters":true}',
121+
'{"method":"distanceEqual","attribute":"location","values":[[[40.7128,-74.0060],1000,false]]}',
122+
'{"method":"distanceEqual","attribute":"location","values":[[[40.7128,-74.0060],1000,true]]}',
123+
'{"method":"distanceNotEqual","attribute":"location","values":[[[40.7128,-74.0060],1000,true]]}',
124+
'{"method":"distanceNotEqual","attribute":"location","values":[[[40.7128,-74.0060],1000,false]]}',
125+
'{"method":"distanceGreaterThan","attribute":"location","values":[[[40.7128,-74.0060],1000,false]]}',
126+
'{"method":"distanceGreaterThan","attribute":"location","values":[[[40.7128,-74.0060],1000,true]]}',
127+
'{"method":"distanceLessThan","attribute":"location","values":[[[40.7128,-74.0060],1000,true]]}',
128+
'{"method":"distanceLessThan","attribute":"location","values":[[[40.7128,-74.0060],1000,false]]}',
129129
'{"method":"intersects","attribute":"location","values":[40.7128,-74.0060]}',
130130
'{"method":"notIntersects","attribute":"location","values":[40.7128,-74.0060]}',
131131
'{"method":"crosses","attribute":"location","values":[40.7128,-74.0060]}',

0 commit comments

Comments
 (0)