2 Feature: Updates of linked places
3 Tests that linked places are correctly added and deleted.
5 Scenario: Add linked place when linking relation is renamed
7 | osm | class | type | name | geometry |
8 | N1 | place | city | foo | 0 0 |
10 | osm | class | type | name | admin | geometry |
11 | R1 | boundary | administrative | foo | 8 | poly-area:0.1 |
13 And searching for "foo" with dups
18 | osm | class | type | name | admin | geometry |
19 | R1 | boundary | administrative | foobar | 8 | poly-area:0.1 |
21 | object | linked_place_id |
23 When searching for "foo" with dups
28 Scenario: Add linked place when linking relation is removed
30 | osm | class | type | name | geometry |
31 | N1 | place | city | foo | 0 0 |
33 | osm | class | type | name | admin | geometry |
34 | R1 | boundary | administrative | foo | 8 | poly-area:0.1 |
36 And searching for "foo" with dups
40 When marking for delete R1
42 | object | linked_place_id |
44 When searching for "foo" with dups
49 Scenario: Remove linked place when linking relation is added
51 | osm | class | type | name | geometry |
52 | N1 | place | city | foo | 0 0 |
54 And searching for "foo" with dups
59 | osm | class | type | name | admin | geometry |
60 | R1 | boundary | administrative | foo | 8 | poly-area:0.1 |
62 | object | linked_place_id |
64 When searching for "foo" with dups
69 Scenario: Remove linked place when linking relation is renamed
71 | osm | class | type | name | geometry |
72 | N1 | place | city | foo | 0 0 |
74 | osm | class | type | name | admin | geometry |
75 | R1 | boundary | administrative | foobar | 8 | poly-area:0.1 |
77 And searching for "foo" with dups
82 | osm | class | type | name | admin | geometry |
83 | R1 | boundary | administrative | foo | 8 | poly-area:0.1 |
85 | object | linked_place_id |
87 When searching for "foo" with dups