Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit f2fa3c7

Browse files
committed
[ArcGISOnline] Fix test with token
1 parent e14e4f1 commit f2fa3c7

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

src/Provider/ArcGISOnline/Tests/ArcGISOnlineTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ public function testGeocodeWithToken()
8787
if (!isset($_SERVER['ARCGIS_TOKEN'])) {
8888
$this->markTestSkipped('You need to configure the ARCGIS_TOKEN value in phpunit.xml');
8989
}
90-
$provider = ArcGISOnline::token($this->getHttpClient(), $_SERVER['ARCGIS_TOKEN']);
90+
$provider = ArcGISOnline::token($this->getHttpClient($_SERVER['ARCGIS_TOKEN']), $_SERVER['ARCGIS_TOKEN']);
9191
$results = $provider->geocodeQuery(GeocodeQuery::create('5754 WI-23, Spring Green, WI 53588, USA'));
9292

9393
$this->assertInstanceOf('Geocoder\Model\AddressCollection', $results);

0 commit comments

Comments
 (0)