From: Sarah Hoffmann Date: Thu, 30 Apr 2015 20:17:00 +0000 (+0200) Subject: add test for TIGER reverse with lower zoom X-Git-Tag: v.2.5.0~59 X-Git-Url: https://git.openstreetmap.org./nominatim.git/commitdiff_plain/a97808afec9e40f7178f8cabf0b4b274037abfb1 add test for TIGER reverse with lower zoom --- diff --git a/tests/features/api/reverse.feature b/tests/features/api/reverse.feature index 2486b013..f8c4f388 100644 --- a/tests/features/api/reverse.feature +++ b/tests/features/api/reverse.feature @@ -23,3 +23,16 @@ Feature: Reverse geocoding | 0 | 7094 | Kings Estate Drive | 84128 | us And result 0 has not attributes osm_id,osm_type + + @Tiger + Scenario: No TIGER house number for zoom < 18 + Given the request parameters + | addressdetails | zoom + | 1 | 17 + When looking up coordinates 40.6863624710666,-112.060005720023 + And exactly 1 result is returned + And result addresses contain + | ID | road | postcode | country_code + | 0 | Kings Estate Drive | 84128 | us + And result 0 has attributes osm_id,osm_type +