Skip to content

Commit d7b4bba

Browse files
committed
test: linked places expand default language names
Add failing test for issue osm-search#2714 to verify default language expansion
1 parent 00b3ace commit d7b4bba

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

test/bdd/db/import/linking.feature

+18
Original file line numberDiff line numberDiff line change
@@ -310,3 +310,21 @@ Feature: Linking of places
310310
| object | name+_place_name |
311311
| R1 | LabelPlace |
312312

313+
314+
Scenario: Linked places expand default language names
315+
Given the grid
316+
| 1 | | 2 |
317+
| | 9 | |
318+
| 4 | | 3 |
319+
Given the places
320+
| osm | class | type | name+name | name+name:en | name+name:ru | geometry |
321+
| N9 | place | city | Popayán | Popayán | Попаян | 9 |
322+
| R1 | boundary | administrative | Perímetro Urbano Popayán | | | (1,2,3,4,1) |
323+
And the relations
324+
| id | members |
325+
| 1 | N9:label |
326+
When importing
327+
Then placex contains
328+
| object | name+_place_name | name+_place_name:es |
329+
| R1 | Popayán | Popayán |
330+

0 commit comments

Comments
 (0)