From: Sarah Hoffmann Date: Wed, 12 Feb 2020 10:29:33 +0000 (+0100) Subject: fix duplicate keys in tests X-Git-Tag: v3.5.0~82^2 X-Git-Url: https://git.openstreetmap.org./nominatim.git/commitdiff_plain/6073d948e61e2d62f5c3066db49da0b5dfcfcda5 fix duplicate keys in tests The tests suddenly failed because the unique key constraint is more strict and does no longer include the type. --- diff --git a/test/bdd/db/import/search_name.feature b/test/bdd/db/import/search_name.feature index cf3ce4dd..af31d46a 100644 --- a/test/bdd/db/import/search_name.feature +++ b/test/bdd/db/import/search_name.feature @@ -29,8 +29,8 @@ Feature: Creation of search terms And the places | osm | class | type | name | geometry | | N1 | place | state | new york | 80 80 | - | N1 | place | city | bonn | 81 81 | - | N1 | place | suburb | smalltown| 80 81 | + | N2 | place | city | bonn | 81 81 | + | N3 | place | suburb | smalltown| 80 81 | And the named places | osm | class | type | addr+city | addr+state | addr+suburb | geometry | | W1 | highway | service | bonn | New York | Smalltown | :w-north | @@ -67,8 +67,8 @@ Feature: Creation of search terms And the places | osm | class | type | name | geometry | | N1 | place | state | new york | 80 80 | - | N1 | place | city | bonn | 81 81 | - | N1 | place | suburb | smalltown| 80 81 | + | N2 | place | city | bonn | 81 81 | + | N3 | place | suburb | smalltown| 80 81 | And the named places | osm | class | type | addr+is_in | geometry | | W1 | highway | service | bonn, New York, Smalltown | :w-north |