mirror of
https://github.com/osm-search/Nominatim.git
synced 2026-02-16 05:18:00 +00:00
test: linked places expand default language names
Add failing test for issue #2714 to verify default language expansion
This commit is contained in:
@@ -310,3 +310,21 @@ Feature: Linking of places
|
||||
| object | name+_place_name |
|
||||
| R1 | LabelPlace |
|
||||
|
||||
|
||||
Scenario: Linked places expand default language names
|
||||
Given the grid
|
||||
| 1 | | 2 |
|
||||
| | 9 | |
|
||||
| 4 | | 3 |
|
||||
Given the places
|
||||
| osm | class | type | name+name | name+name:en | name+name:ru | geometry |
|
||||
| N9 | place | city | Popayán | Popayán | Попаян | 9 |
|
||||
| R1 | boundary | administrative | Perímetro Urbano Popayán | | | (1,2,3,4,1) |
|
||||
And the relations
|
||||
| id | members |
|
||||
| 1 | N9:label |
|
||||
When importing
|
||||
Then placex contains
|
||||
| object | name+_place_name | name+_place_name:es |
|
||||
| R1 | Popayán | Popayán |
|
||||
|
||||
|
||||
Reference in New Issue
Block a user