]> git.openstreetmap.org Git - nominatim.git/blobdiff - test/bdd/api/search/postcode.feature
fix search for postcode via structured query
[nominatim.git] / test / bdd / api / search / postcode.feature
index 6033f7cca5978ca105960579d0bcfc3fbc852cb3..63c8646946cb2d1170879b17c6ff0a9268340650 100644 (file)
@@ -25,3 +25,11 @@ Feature: Searches with postcodes
         Then result addresses contain
             | country_code |
             | li           |
+
+    Scenario: Postcode search with structured query
+        When sending json search query "" with address
+            | postalcode | country |
+            | 9490       | li |
+        Then result addresses contain
+            | country_code | postcode |
+            | li           | 9490     |