]> git.openstreetmap.org Git - nominatim.git/commitdiff
adapt tests to new tiger algorithm
authorSarah Hoffmann <lonvia@denofr.de>
Mon, 28 Mar 2016 15:08:27 +0000 (17:08 +0200)
committerSarah Hoffmann <lonvia@denofr.de>
Mon, 28 Mar 2016 15:08:27 +0000 (17:08 +0200)
tests/features/api/reverse.feature
tests/features/api/search.feature

index 39519177be9be4cd5b9afba5b614eca314d4efec..0dcb12bdbb978bc18a4dc71edda737f416e1810e 100644 (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
 
 
index c7ce7d3ba250a7318043726f483da7e8adb03118..656bfb2948df6c31f1322b325b192174aa1bc6a6 100644 (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