@@ -194,7 +194,7 @@ public function testInsertUpdateGeometryCollectionHasCorrectSql()
194194 public function testScopeDistance ()
195195 {
196196 $ point = new Point (1 , 2 );
197- $ query = TestModel::Distance ('point ' , $ point , 10 );
197+ $ query = TestModel::distance ('point ' , $ point , 10 );
198198
199199 $ this ->assertInstanceOf (\Grimzy \LaravelMysqlSpatial \Eloquent \Builder::class, $ query );
200200 $ q = $ query ->getQuery ();
@@ -205,7 +205,7 @@ public function testScopeDistance()
205205 public function testScopeDistanceExcludingSelf ()
206206 {
207207 $ point = new Point (1 , 2 );
208- $ query = TestModel::DistanceExcludingSelf ('point ' , $ point , 10 );
208+ $ query = TestModel::distanceExcludingSelf ('point ' , $ point , 10 );
209209
210210 $ this ->assertInstanceOf (\Grimzy \LaravelMysqlSpatial \Eloquent \Builder::class, $ query );
211211 $ q = $ query ->getQuery ();
@@ -217,7 +217,7 @@ public function testScopeDistanceExcludingSelf()
217217 public function testScopeDistanceSphere ()
218218 {
219219 $ point = new Point (1 , 2 );
220- $ query = TestModel::DistanceSphere ('point ' , $ point , 10 );
220+ $ query = TestModel::distanceSphere ('point ' , $ point , 10 );
221221
222222 $ this ->assertInstanceOf (\Grimzy \LaravelMysqlSpatial \Eloquent \Builder::class, $ query );
223223 $ q = $ query ->getQuery ();
@@ -228,7 +228,7 @@ public function testScopeDistanceSphere()
228228 public function testScopeDistanceSphereExcludingSelf ()
229229 {
230230 $ point = new Point (1 , 2 );
231- $ query = TestModel::DistanceSphereExcludingSelf ('point ' , $ point , 10 );
231+ $ query = TestModel::distanceSphereExcludingSelf ('point ' , $ point , 10 );
232232
233233 $ this ->assertInstanceOf (\Grimzy \LaravelMysqlSpatial \Eloquent \Builder::class, $ query );
234234 $ q = $ query ->getQuery ();
@@ -240,7 +240,7 @@ public function testScopeDistanceSphereExcludingSelf()
240240 public function testScopeDistanceValue ()
241241 {
242242 $ point = new Point (1 , 2 );
243- $ query = TestModel::DistanceValue ('point ' , $ point );
243+ $ query = TestModel::distanceValue ('point ' , $ point );
244244
245245 $ this ->assertInstanceOf (\Grimzy \LaravelMysqlSpatial \Eloquent \Builder::class, $ query );
246246 $ q = $ query ->getQuery ();
@@ -266,7 +266,7 @@ public function testScopeDistanceValueWithSelect()
266266 public function testScopeDistanceSphereValue ()
267267 {
268268 $ point = new Point (1 , 2 );
269- $ query = TestModel::DistanceSphereValue ('point ' , $ point );
269+ $ query = TestModel::distanceSphereValue ('point ' , $ point );
270270
271271 $ this ->assertInstanceOf (\Grimzy \LaravelMysqlSpatial \Eloquent \Builder::class, $ query );
272272 $ q = $ query ->getQuery ();
0 commit comments