]> git.openstreetmap.org Git - nominatim.git/blobdiff - test/bdd/db/update/naming.feature
Merge pull request #3067 from lonvia/python-search-api
[nominatim.git] / test / bdd / db / update / naming.feature
index 4023e3f9be29838ae2eced4f5c468968dc65f75a..c6ff13885b9a289f35736294dcc5e5fe4cf130d4 100644 (file)
@@ -3,9 +3,12 @@ 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 | 12345    | (1,2,3,4,1) |
         When importing
         And sending search query "12345"
         Then results contain
@@ -13,6 +16,6 @@ Feature: Update of names in place objects
          | 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