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
|
2021-06-06 16:27:52 +03:00
|
|
|
And sending search query "12345"
|
2016-11-27 16:44:21 +03:00
|
|
|
Then results contain
|
2021-06-06 16:27:52 +03:00
|
|
|
| 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
|
|
|
|
|