mirror of
https://github.com/osm-search/Nominatim.git
synced 2026-02-14 18:37:58 +00:00
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:
@@ -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 |
|
||||||
|
|||||||
Reference in New Issue
Block a user