adapt tests to new tiger algorithm

This commit is contained in:
Sarah Hoffmann
2016-03-28 17:08:27 +02:00
parent 23fa6018a4
commit 5d928d5187
2 changed files with 7 additions and 3 deletions

View File

@@ -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

View File

@@ -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