From: Sarah Hoffmann Date: Mon, 28 Mar 2016 15:08:27 +0000 (+0200) Subject: adapt tests to new tiger algorithm X-Git-Tag: v3.0.0~187 X-Git-Url: https://git.openstreetmap.org./nominatim.git/commitdiff_plain/5d928d5187bc9853eb4f54a4ca2216bac7cc5209?hp=23fa6018a449aa125b971d8c2155498b3e078c70 adapt tests to new tiger algorithm --- diff --git a/tests/features/api/reverse.feature b/tests/features/api/reverse.feature index 39519177..0dcb12bd 100644 --- a/tests/features/api/reverse.feature +++ b/tests/features/api/reverse.feature @@ -29,7 +29,7 @@ Feature: Reverse geocoding And exactly 1 result is returned And result addresses contain | ID | house_number | road | postcode | country_code - | 0 | 7094 | Kings Estate Drive | 84128 | us + | 0 | 7096 | Kings Estate Drive | 84128 | us And result 0 has not attributes osm_id,osm_type diff --git a/tests/features/api/search.feature b/tests/features/api/search.feature index c7ce7d3b..656bfb29 100644 --- a/tests/features/api/search.feature +++ b/tests/features/api/search.feature @@ -59,12 +59,16 @@ Feature: Search queries @Tiger Scenario: TIGER house number When sending json search query "3 West Victory Way, Craig" - Then result 0 has not attributes osm_id,osm_type + Then results contain + | osm_type + | tiger @Tiger Scenario: TIGER house number (road fallback) When sending json search query "3030 West Victory Way, Craig" - Then result 0 has attributes osm_id,osm_type + Then results contain + | osm_type + | way Scenario: Expansion of Illinois Given the request parameters