]> git.openstreetmap.org Git - nominatim.git/blob - test/bdd/db/update/naming.feature
Merge pull request #3094 from lonvia/fix-failing-bdd-tests
[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 grid with origin DE
7           | 1 | 2 |
8           | 4 | 3 |
9         Given the places
10           | osm | class    | type        | postcode | geometry |
11           | R1  | boundary | postal_code | 123-45    | (1,2,3,4,1) |
12         When importing
13         And sending search query "123-45"
14         Then results contain
15          | ID | osm |
16          | 0  | R1 |
17         When updating places
18           | osm | class    | type        | geometry |
19           | R1  | boundary | postal_code | (1,2,3,4,1) |
20         Then placex has no entry for R1
21