X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/21a3fc4b0fa98e591a8114b684db69059eb9d26a..57598a048e9124b905572ed8dc4fa9465b5d38a6:/test/bdd/db/update/naming.feature?ds=inline diff --git a/test/bdd/db/update/naming.feature b/test/bdd/db/update/naming.feature index 4b5222fc..6c1a817b 100644 --- a/test/bdd/db/update/naming.feature +++ b/test/bdd/db/update/naming.feature @@ -3,16 +3,19 @@ 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 | 12345 | poly-area:0.5 | + | R1 | boundary | postal_code | 123-45 | (1,2,3,4,1) | When importing - And searching for "12345" + And sending search query "123-45" Then results contain - | ID | osm_type | osm_id | - | 0 | R | 1 | + | ID | osm | + | 0 | R1 | When updating places | osm | class | type | geometry | - | R1 | boundary | postal_code | poly-area:0.5 | + | R1 | boundary | postal_code | (1,2,3,4,1) | Then placex has no entry for R1