]> git.openstreetmap.org Git - nominatim.git/blobdiff - test/bdd/db/query/housenumbers.feature
Merge remote-tracking branch 'upstream/master'
[nominatim.git] / test / bdd / db / query / housenumbers.feature
index 63bd89840dd0088d695cde75a03e6e052a669dca..bbb43f179e1477bcc8dde45e6cd91136c4941a27 100644 (file)
@@ -53,3 +53,17 @@ Feature: Searching of house numbers
         | 2;4;12 |
         | 2,4,12 |
         | 2, 4, 12 |
+
+
+    Scenario: A name mapped as a housenumber is found
+        Given the places
+         | osm | class    | type | housenr | geometry |
+         | N1  | building | yes  | Warring | 9        |
+        And the places
+         | osm | class   | type | name       | geometry |
+         | W10 | highway | path | Chester St | 1,2,3    |
+        When importing
+        When sending search query "Chester St Warring"
+        Then results contain
+         | osm |
+         | N1  |