X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/7aa2df53891a8845af51491280c26142695bc2af..a338ba695b67a65aaa5102a0cfe2bd7da398a0b3:/test/bdd/api/search/queries.feature?ds=sidebyside diff --git a/test/bdd/api/search/queries.feature b/test/bdd/api/search/queries.feature index 7ac9813a..fea4da41 100644 --- a/test/bdd/api/search/queries.feature +++ b/test/bdd/api/search/queries.feature @@ -19,14 +19,11 @@ Feature: Search queries When sending json search query "Schellingstr 86, Hamburg" with address | accept-language | | de | - Then address of result 0 is + Then address of result 0 contains | type | value | | house_number | 86 | | road | Schellingstraße | - | neighbourhood | Auenviertel | - | suburb | Eilbek | | postcode | 22089 | - | city_district | Wandsbek | | city | Hamburg | | country | Deutschland | | country_code | de | @@ -35,14 +32,11 @@ Feature: Search queries When sending json search query "Schellingstr 73, Hamburg" with address | accept-language | | de | - Then address of result 0 is + Then address of result 0 contains | type | value | | house_number | 73 | | road | Schellingstraße | - | neighbourhood | Auenviertel | - | suburb | Eilbek | | postcode | 22089 | - | city_district | Wandsbek | | city | Hamburg | | country | Deutschland | | country_code | de | @@ -185,4 +179,12 @@ Feature: Search queries When sending json search query "22nd Street Southwest , Huron" Then results contain | class | type | - | highway | residential | \ No newline at end of file + | highway | residential | + + + # github #1949 + Scenario: Addressdetails always return the place type + When sending json search query "Rotherbaum" with address + Then result addresses contain + | ID | suburb | + | 0 | Rotherbaum |