]> git.openstreetmap.org Git - nominatim.git/blob - test/bdd/features/db/update/naming.feature
release 5.1.0.post6
[nominatim.git] / test / bdd / features / db / update / naming.feature
1 Feature: Update of names in place objects
2     Test all naming related issues in updates
3
4     Scenario: Delete postcode from postcode boundaries without ref
5         Given the grid with origin DE
6           | 1 | 2 |
7           | 4 | 3 |
8         Given the places
9           | osm | class    | type        | postcode | geometry |
10           | R1  | boundary | postal_code | 123-45    | (1,2,3,4,1) |
11         When importing
12         And geocoding "123-45"
13         Then result 0 contains
14          | object |
15          | R1 |
16         When updating places
17           | osm | class    | type        | geometry |
18           | R1  | boundary | postal_code | (1,2,3,4,1) |
19         Then placex has no entry for R1
20