Nominatim/test/bdd/db/update/naming.feature
2016-12-30 22:58:58 +01:00

19 lines
656 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 places
| osm | class | type | postcode | geometry |
| R1 | boundary | postal_code | 12345 | poly-area:0.5 |
When importing
And searching for "12345"
Then results contain
| ID | osm_type | osm_id |
| 0 | R | 1 |
When updating places
| osm | class | type | geometry |
| R1 | boundary | postal_code | poly-area:0.5 |
Then placex has no entry for R1