X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/8c3a0efe8b75a06279998e66a932d8a56c483961..f289db9bfe21c5a725e751be98e2b824026e2310:/test/bdd/api/search/postcode.feature diff --git a/test/bdd/api/search/postcode.feature b/test/bdd/api/search/postcode.feature index e70495f6..827af1ea 100644 --- a/test/bdd/api/search/postcode.feature +++ b/test/bdd/api/search/postcode.feature @@ -1,12 +1,17 @@ +@SQLITE @APIDB Feature: Searches with postcodes Various searches involving postcodes + @v1-api-php-only Scenario: US 5+4 ZIP codes are shortened to 5 ZIP codes if not found - When sending json search query "57701 1111, us" with address + When sending json search query "36067 1111, us" with address Then result addresses contain | postcode | - | 57701 | + | 36067 | + And results contain + | type | + | postcode | Scenario: Postcode search with address When sending json search query "9486, mauren"