Skip to content

Commit 532345b

Browse files
committed
Update GoogleMapsBusinessProviderTest.php
Replaced instance of client with client_id (line 31 & 50)
1 parent a918a19 commit 532345b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/Geocoder/Tests/Provider/GoogleMapsBusinessProviderTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ public function testBuildQueryWithNoPrivateKey()
2828

2929
$query = 'http://maps.googleapis.com/maps/api/geocode/json?address=blah&sensor=false';
3030

31-
$this->assertEquals($query.'&client=foo', $method->invoke($provider, $query));
31+
$this->assertEquals($query.'&client_id=foo', $method->invoke($provider, $query));
3232
}
3333

3434
public function testBuildQueryWithPrivateKey()
@@ -47,7 +47,7 @@ public function testBuildQueryWithPrivateKey()
4747

4848
$query = 'http://maps.googleapis.com/maps/api/geocode/json?address=blah&sensor=false';
4949

50-
$this->assertEquals($query.'&client=foo&signature=JY4upbd7fi76C-bMGYk410gmB5g=', $method->invoke($provider, $query));
50+
$this->assertEquals($query.'&client_id=foo&signature=JY4upbd7fi76C-bMGYk410gmB5g=', $method->invoke($provider, $query));
5151
}
5252

5353
public function testSignQuery()

0 commit comments

Comments
 (0)