X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/a8bedb6ab9ae22ba88f2a85afc7a9021aae283ff..37940803273aeab88ae37f8f6c9698478df52fc2:/test/bdd/db/import/linking.feature?ds=inline diff --git a/test/bdd/db/import/linking.feature b/test/bdd/db/import/linking.feature index dfa4b77c..5bfdbca7 100644 --- a/test/bdd/db/import/linking.feature +++ b/test/bdd/db/import/linking.feature @@ -290,3 +290,23 @@ Feature: Linking of places | R1 | 'linked_place' : 'city', 'wikidata': 'Q1234' | | R2 | 'wikidata': 'Q1234' | + + Scenario: Boundaries without names inherit names from linked places + Given the 0.05 grid + | 1 | | 2 | + | | 9 | | + | 4 | | 3 | + Given the places + | osm | class | type | extra+wikidata | admin | geometry | + | R1 | boundary | administrative | 34 | 8 | (1,2,3,4,1) | + And the places + | osm | class | type | name+name | + | N9 | place | city | LabelPlace | + And the relations + | id | members | + | 1 | N9:label | + When importing + Then placex contains + | object | name+_place_name | + | R1 | LabelPlace | +