]> git.openstreetmap.org Git - nominatim.git/blobdiff - tests/features/api/search_params.feature
slightly relax API tests
[nominatim.git] / tests / features / api / search_params.feature
index 5b765f12cd69511b9cd520c68870014619c16d6a..23a6bf5938eb46690efdbd5de2ab2dd73f56d828 100644 (file)
@@ -27,9 +27,9 @@ Feature: Search queries
 
     Scenario: XML search with addressdetails
         When sending xml search query "Inuvik" with address
-        Then address of result 0 is
+        Then address of result 0 contains
           | type         | value
-          | town         | Inuvik
+          | city         | Inuvik
           | state        | Northwest Territories
           | country      | Canada
           | country_code | ca
@@ -41,7 +41,7 @@ Feature: Search queries
           | 0  | leisure | hackerspace
         And result addresses contain
           | ID | address29
-          | 0  | foobar
+          | 0  | Chaospott
         And address of result 0 does not contain leisure,hackerspace
 
     Scenario: Disabling deduplication