]> git.openstreetmap.org Git - nominatim.git/commitdiff
adapt API tests to latest OSM data changes
authorSarah Hoffmann <lonvia@denofr.de>
Thu, 9 Oct 2014 19:04:16 +0000 (21:04 +0200)
committerSarah Hoffmann <lonvia@denofr.de>
Thu, 9 Oct 2014 19:04:16 +0000 (21:04 +0200)
tests/features/api/search_params.feature
tests/features/db/import/placex.feature

index 5b765f12cd69511b9cd520c68870014619c16d6a..5733af417bc97d20b8b74c92a7a9049610f5be11 100644 (file)
@@ -29,7 +29,7 @@ Feature: Search queries
         When sending xml search query "Inuvik" with address
         Then address of result 0 is
           | 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
index caa0d17571d4ddc1be754b2ead49f8b5779017ec..7e9ae62026db22b0e2cf94d28b4143708b4fdff6 100644 (file)
@@ -378,7 +378,7 @@ Feature: Import into placex
           | N5     | 30          | 30
           | W2     | 18          | 0
           | R3     | 18          | 0
-          | R4     | 22          | 22
+          | R4     | 22          | 0
           | R5     | 4           | 4
           | R6     | 4           | 4
           | W3     | 30          | 30