]> git.openstreetmap.org Git - nominatim.git/commitdiff
add test for house number search
authorSarah Hoffmann <lonvia@denofr.de>
Wed, 4 Feb 2015 19:39:20 +0000 (20:39 +0100)
committerSarah Hoffmann <lonvia@denofr.de>
Wed, 4 Feb 2015 19:39:20 +0000 (20:39 +0100)
tests/features/api/regression.feature

index cd9e84776b8126e8246b734ed9e3a2c9e982ba9e..8a436fc3d41dac571fc4626557e737170e6b0d57 100644 (file)
@@ -165,6 +165,25 @@ Feature: API regression tests
          | ID | class   | latlon
          | 0  | highway | 51.8324206,1.2447352 +-100m
 
+     Scenario Outline: trac #5025
+        When sending json search query "Kriegsstr <house_nr>, Karlsruhe" with address
+        Then result addresses contain
+          | house_number | road
+          | <house_nr>   | Kriegsstraße
+
+     Examples:
+        | house_nr
+        | 5c
+        | 25
+        | 78
+        | 80
+        | 99
+        | 130
+        | 153
+        | 196
+        | 256
+        | 294
+
      Scenario: trac #5238
         Given the request parameters
          | bounded | viewbox