fix duplicate keys in tests

The tests suddenly failed because the unique key constraint
is more strict and does no longer include the type.
This commit is contained in:
Sarah Hoffmann
2020-02-12 11:29:33 +01:00
parent b9171dd10b
commit 6073d948e6

View File

@@ -29,8 +29,8 @@ Feature: Creation of search terms
And the places And the places
| osm | class | type | name | geometry | | osm | class | type | name | geometry |
| N1 | place | state | new york | 80 80 | | N1 | place | state | new york | 80 80 |
| N1 | place | city | bonn | 81 81 | | N2 | place | city | bonn | 81 81 |
| N1 | place | suburb | smalltown| 80 81 | | N3 | place | suburb | smalltown| 80 81 |
And the named places And the named places
| osm | class | type | addr+city | addr+state | addr+suburb | geometry | | osm | class | type | addr+city | addr+state | addr+suburb | geometry |
| W1 | highway | service | bonn | New York | Smalltown | :w-north | | W1 | highway | service | bonn | New York | Smalltown | :w-north |
@@ -67,8 +67,8 @@ Feature: Creation of search terms
And the places And the places
| osm | class | type | name | geometry | | osm | class | type | name | geometry |
| N1 | place | state | new york | 80 80 | | N1 | place | state | new york | 80 80 |
| N1 | place | city | bonn | 81 81 | | N2 | place | city | bonn | 81 81 |
| N1 | place | suburb | smalltown| 80 81 | | N3 | place | suburb | smalltown| 80 81 |
And the named places And the named places
| osm | class | type | addr+is_in | geometry | | osm | class | type | addr+is_in | geometry |
| W1 | highway | service | bonn, New York, Smalltown | :w-north | | W1 | highway | service | bonn, New York, Smalltown | :w-north |