From 6073d948e61e2d62f5c3066db49da0b5dfcfcda5 Mon Sep 17 00:00:00 2001 From: Sarah Hoffmann Date: Wed, 12 Feb 2020 11:29:33 +0100 Subject: [PATCH] fix duplicate keys in tests The tests suddenly failed because the unique key constraint is more strict and does no longer include the type. --- test/bdd/db/import/search_name.feature | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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 | -- 2.39.5