From: Sarah Hoffmann Date: Sun, 1 Dec 2019 19:36:59 +0000 (+0100) Subject: add test for finding housenumber 0 X-Git-Tag: v3.5.0~121 X-Git-Url: https://git.openstreetmap.org./nominatim.git/commitdiff_plain/f8bd4f5133903139c02b5423c93d7053215fea24 add test for finding housenumber 0 --- diff --git a/test/bdd/api/search/queries.feature b/test/bdd/api/search/queries.feature index cf5a00c9..8c2fa2b8 100644 --- a/test/bdd/api/search/queries.feature +++ b/test/bdd/api/search/queries.feature @@ -55,6 +55,22 @@ Feature: Search queries | country | Uruguay | | country_code | uy | + Scenario Outline: Housenumber 0 can be found + When sending search query "Pham Hung Road 0" with address + Then results contain + | display_name | + | ^.*, 0,.* | + And result addresses contain + | house_number | + | 0 | + + Examples: + | format | + | xml | + | json | + | jsonv2 | + | geojson | + @Tiger Scenario: TIGER house number When sending json search query "323 22nd Street Southwest, Huron"