From 5d928d5187bc9853eb4f54a4ca2216bac7cc5209 Mon Sep 17 00:00:00 2001 From: Sarah Hoffmann Date: Mon, 28 Mar 2016 17:08:27 +0200 Subject: [PATCH] adapt tests to new tiger algorithm --- tests/features/api/reverse.feature | 2 +- tests/features/api/search.feature | 8 ++++++-- 2 files changed, 7 insertions(+), 3 deletions(-) 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 -- 2.39.5