Nominatim/test/bdd/db/update/naming.feature

19 lines
639 B
Gherkin
Raw Normal View History

2016-11-27 16:44:21 +03:00
@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 sending search query "12345"
2016-11-27 16:44:21 +03:00
Then results contain
| ID | osm |
| 0 | R1 |
2016-11-27 16:44:21 +03:00
When updating places
| osm | class | type | geometry |
| R1 | boundary | postal_code | poly-area:0.5 |
Then placex has no entry for R1