Skip to content

Commit a7a7fb1

Browse files
committed
Revert "Update tests"
This reverts commit f5d9ff7.
1 parent daa59ab commit a7a7fb1

7 files changed

+4
-4
lines changed

.cached_responses/.gitkeep

Whitespace-only changes.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
s:1596:"[{"place_id":259070493,"licence":"Data © OpenStreetMap contributors, ODbL 1.0. https://osm.org/copyright","osm_type":"relation","osm_id":1879842,"boundingbox":["51.5032573","51.5036483","-0.1278356","-0.1273038"],"lat":"51.50344025","lon":"-0.12770820958562096","display_name":"Prime Minister’s Office, 10, Downing Street, Westminster, Covent Garden, Westminster, London, Greater London, England, SW1A 2AA, United Kingdom","place_rank":30,"category":"tourism","type":"attraction","importance":0.9187064122051384,"icon":"https://nominatim.openstreetmap.org/ui/mapicons//poi_point_of_interest.p.20.png","address":{"tourism":"Prime Minister’s Office","house_number":"10","road":"Downing Street","quarter":"Westminster","suburb":"Covent Garden","city":"Westminster","state_district":"Greater London","state":"England","postcode":"SW1A 2AA","country":"United Kingdom","country_code":"gb"}},{"place_id":18621002,"licence":"Data © OpenStreetMap contributors, ODbL 1.0. https://osm.org/copyright","osm_type":"node","osm_id":1931404517,"boundingbox":["51.5032302","51.5033302","-0.1276858","-0.1275858"],"lat":"51.5032802","lon":"-0.1276358","display_name":"10, Downing Street, Westminster, Covent Garden, Westminster, London, Greater London, England, SW1, United Kingdom","place_rank":30,"category":"place","type":"house","importance":0.42099999999999993,"address":{"house_number":"10","road":"Downing Street","quarter":"Westminster","suburb":"Covent Garden","city":"Westminster","state_district":"Greater London","state":"England","postcode":"SW1","country":"United Kingdom","country_code":"gb"}}]";

.cached_responses/nominatim.openstreetmap.org_1c28ca51962224c6963619eaf033eb70e34892e8

Lines changed: 0 additions & 1 deletion
This file was deleted.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
s:435:"{"place_id":45891253,"licence":"Data © OpenStreetMap contributors, ODbL 1.0. https://osm.org/copyright","osm_type":"node","osm_id":3815077900,"lat":"-5e-07","lon":"5e-07","place_rank":30,"category":"man_made","type":"monitoring_station","importance":9.99999999995449e-6,"addresstype":"man_made","name":"Soul Buoy","display_name":"Soul Buoy","address":{"man_made":"Soul Buoy"},"boundingbox":["-5.05E-5","4.95E-5","-4.95E-5","5.05E-5"]}";
1+
s:29:"{"error":"Unable to geocode"}";
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
s:740:"{"place_id":58975603,"licence":"Data © OpenStreetMap contributors, ODbL 1.0. https://osm.org/copyright","osm_type":"node","osm_id":5355165911,"lat":"38.8996384","lon":"-77.0367192","place_rank":30,"category":"amenity","type":"bench","importance":9.99999999995449e-6,"addresstype":"amenity","name":"Baruch Bench of Inspiration","display_name":"Baruch Bench of Inspiration, H Street Northwest, Washington, District of Columbia, 20006, United States","address":{"amenity":"Baruch Bench of Inspiration","road":"H Street Northwest","city":"Washington","state":"District of Columbia","ISO3166-2-lvl4":"US-DC","postcode":"20006","country":"United States","country_code":"us"},"boundingbox":["38.8995884","38.8996884","-77.0367692","-77.0366692"]}";
1+
s:736:"{"place_id":3029686,"licence":"Data © OpenStreetMap contributors, ODbL 1.0. https://osm.org/copyright","osm_type":"node","osm_id":367142942,"lat":"38.9003895","lon":"-77.0374769","place_rank":30,"category":"building","type":"public","importance":0,"addresstype":"building","name":"United States Chamber of Commerce Building","display_name":"United States Chamber of Commerce Building, H Street Northwest, Washington, Washington, D.C., 20006, United States","address":{"building":"United States Chamber of Commerce Building","road":"H Street Northwest","city":"Washington","state":"Washington, D.C.","postcode":"20006","country":"United States","country_code":"us"},"boundingbox":["38.9003395","38.9004395","-77.0375269","-77.0374269"]}";

.cached_responses/nominatim.openstreetmap.org_dfdc355642ef34fb9970df028c4ec338ce0ea3f4 renamed to .cached_responses/nominatim.openstreetmap.org_f8507c7e172266250167178dc127b0317c18c390

File renamed without changes.

src/ProviderIntegrationTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ public function testReverseQueryWithNoResults(): void
169169
$provider = $this->createProvider($this->getCachedHttpClient());
170170

171171
$result = $provider->reverseQuery(ReverseQuery::fromCoordinates(0, 0));
172-
$this->assertEquals(1, $result->count());
172+
$this->assertEquals(0, $result->count());
173173
}
174174

175175
public function testGeocodeIpv4(): void

0 commit comments

Comments
 (0)