]> git.openstreetmap.org Git - nominatim.git/commitdiff
slightly adapt postcode tests
authorSarah Hoffmann <lonvia@denofr.de>
Thu, 22 Jun 2023 14:51:59 +0000 (16:51 +0200)
committerSarah Hoffmann <lonvia@denofr.de>
Thu, 22 Jun 2023 14:51:59 +0000 (16:51 +0200)
test/bdd/db/query/normalization.feature
test/bdd/db/update/naming.feature

index 5e94cd3e86d0165dcc0213ccbc0492150d179b4d..47906133f65555cbd2f373724898ed6d082215fa 100644 (file)
@@ -160,10 +160,10 @@ Feature: Import and search of names
           |   | 2 |   |
           | 1 |   | 3 |
         Given the places
-          | osm | class    | type        | postcode | geometry |
-          | R1  | boundary | postal_code | 12345    | (1,2,3,1) |
+          | osm | class    | type        | postcode  | geometry |
+          | R1  | boundary | postal_code | 123-45    | (1,2,3,1) |
         When importing
-        When sending search query "12345"
+        When sending search query "123-45"
         Then results contain
          | ID | osm |
          | 0  | R1 |
index c6ff13885b9a289f35736294dcc5e5fe4cf130d4..6c1a817b7d51efcf491bf7c9c38a53e29aa46927 100644 (file)
@@ -8,9 +8,9 @@ Feature: Update of names in place objects
           | 4 | 3 |
         Given the places
           | osm | class    | type        | postcode | geometry |
-          | R1  | boundary | postal_code | 12345    | (1,2,3,4,1) |
+          | R1  | boundary | postal_code | 123-45    | (1,2,3,4,1) |
         When importing
-        And sending search query "12345"
+        And sending search query "123-45"
         Then results contain
          | ID | osm |
          | 0  | R1 |