]> git.openstreetmap.org Git - nominatim.git/blob - test/bdd/db/update/naming.feature
Merge pull request #1936 from lonvia/tweeking-of-ranks
[nominatim.git] / test / bdd / db / update / naming.feature
1 @DB
2 Feature: Update of names in place objects
3     Test all naming related issues in updates
4
5     Scenario: Delete postcode from postcode boundaries without ref
6         Given the places
7           | osm | class    | type        | postcode | geometry |
8           | R1  | boundary | postal_code | 12345    | poly-area:0.5 |
9         When importing
10         And searching for "12345"
11         Then results contain
12          | ID | osm_type | osm_id |
13          | 0  | R        | 1 |
14         When updating places
15           | osm | class    | type        | geometry |
16           | R1  | boundary | postal_code | poly-area:0.5 |
17         Then placex has no entry for R1
18