X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/2e6f5ba7e68d52aff93775ebffcdb5c59f7f65df..64185ff94c6087eb7046f509f748e7b4e270ae65:/test/bdd/api/search/postcode.feature diff --git a/test/bdd/api/search/postcode.feature b/test/bdd/api/search/postcode.feature index f92aff3c..63c86469 100644 --- a/test/bdd/api/search/postcode.feature +++ b/test/bdd/api/search/postcode.feature @@ -18,3 +18,18 @@ Feature: Searches with postcodes | country_code | | li | + Scenario: Postcode search with country code restriction + When sending json search query "9490" with address + | countrycodes | + | li | + 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 |