Skip to content

Commit f636bed

Browse files
committed
Updated here test for qualified query, update cached response for test
1 parent 5cbd114 commit f636bed

File tree

2 files changed

+2
-7
lines changed

2 files changed

+2
-7
lines changed

src/Provider/Here/Tests/HereTest.php

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -92,13 +92,8 @@ public function testGeocodeWithQualifiedQuery(): void
9292

9393
$provider = Here::createUsingApiKey($this->getHttpClient($_SERVER['HERE_API_KEY']), $_SERVER['HERE_API_KEY'], true);
9494

95-
$query = GeocodeQuery::create(null)
96-
->withData('houseNumber', '405')
97-
->withData('street', 'Urban St')
98-
->withData('city', 'lakewood')
99-
->withData('state', 'CO')
100-
->withData('postalCode', '80228')
101-
->withData('country', 'UnitedStates');
95+
$query = GeocodeQuery::create('houseNumber=405;street=Urban St;city=lakewood;state=CO;postalCode=80228;country=UnitedStates')
96+
->withData('qq', true);
10297

10398
$results = $provider->geocodeQuery($query);
10499

0 commit comments

Comments
 (0)