]> git.openstreetmap.org Git - nominatim.git/commitdiff
add test for TIGER reverse with lower zoom
authorSarah Hoffmann <lonvia@denofr.de>
Thu, 30 Apr 2015 20:17:00 +0000 (22:17 +0200)
committerSarah Hoffmann <lonvia@denofr.de>
Thu, 30 Apr 2015 20:17:00 +0000 (22:17 +0200)
tests/features/api/reverse.feature

index 2486b013b06def133e869dbd827761798abd9901..f8c4f3883a7a6b4b6fb0bffb8ce70034e87421ee 100644 (file)
@@ -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
+