mirror of
https://github.com/osm-search/Nominatim.git
synced 2026-02-26 02:58:13 +00:00
add remaining db update tests
This commit is contained in:
18
test/bdd/db/update/naming.feature
Normal file
18
test/bdd/db/update/naming.feature
Normal file
@@ -0,0 +1,18 @@
|
||||
@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
|
||||
|
||||
Reference in New Issue
Block a user