X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/524dc64ab77afc08ecaa5bc92e4237c89fb4bc86..b593fe9c3e9dd333d870b38e570a898c5f1185f3:/test/bdd/db/update/linked_places.feature?ds=inline diff --git a/test/bdd/db/update/linked_places.feature b/test/bdd/db/update/linked_places.feature index 99614b7f..3dedc468 100644 --- a/test/bdd/db/update/linked_places.feature +++ b/test/bdd/db/update/linked_places.feature @@ -2,6 +2,25 @@ Feature: Updates of linked places Tests that linked places are correctly added and deleted. + Scenario: Linking is kept when boundary is updated + Given the places + | osm | class | type | name | geometry | + | N1 | place | city | foo | 0 0 | + And the places + | osm | class | type | name | admin | geometry | + | R1 | boundary | administrative | foo | 8 | poly-area:0.1 | + When importing + Then placex contains + | object | linked_place_id | + | N1 | R1 | + When updating places + | osm | class | type | name | name+name:de | admin | geometry | + | R1 | boundary | administrative | foo | Dingens | 8 | poly-area:0.1 | + Then placex contains + | object | linked_place_id | + | N1 | R1 | + + Scenario: Add linked place when linking relation is renamed Given the places | osm | class | type | name | geometry |