mirror of
https://github.com/osm-search/Nominatim.git
synced 2024-11-30 12:22:10 +03:00
22 lines
715 B
Gherkin
22 lines
715 B
Gherkin
@DB
|
|
Feature: Update of names in place objects
|
|
Test all naming related issues in updates
|
|
|
|
Scenario: Delete postcode from postcode boundaries without ref
|
|
Given the grid with origin DE
|
|
| 1 | 2 |
|
|
| 4 | 3 |
|
|
Given the places
|
|
| osm | class | type | postcode | geometry |
|
|
| R1 | boundary | postal_code | 123-45 | (1,2,3,4,1) |
|
|
When importing
|
|
And sending search query "123-45"
|
|
Then results contain
|
|
| ID | osm |
|
|
| 0 | R1 |
|
|
When updating places
|
|
| osm | class | type | geometry |
|
|
| R1 | boundary | postal_code | (1,2,3,4,1) |
|
|
Then placex has no entry for R1
|
|
|