]> git.openstreetmap.org Git - nominatim.git/blobdiff - test/bdd/api/search/queries.feature
Merge remote-tracking branch 'upstream/master'
[nominatim.git] / test / bdd / api / search / queries.feature
index 78669c4f876927297121d9eadc4c79216597bc71..0074e3344fe5301f0523742d190394713be36f75 100644 (file)
@@ -56,3 +56,12 @@ Feature: Search queries
         Then results contain
           | place_rank |
           | 30 |
+
+    # https://trac.openstreetmap.org/ticket/5094
+    Scenario: housenumbers are ordered by complete match first
+        When sending json search query "6395 geminis, montevideo" with address
+        Then result addresses contain
+          | ID | house_number |
+          | 0  | 6395 |
+          | 1  | 6395 BIS |
+