From: Sarah Hoffmann Date: Thu, 22 Jun 2023 14:51:59 +0000 (+0200) Subject: slightly adapt postcode tests X-Git-Tag: v4.3.0~60^2~1 X-Git-Url: https://git.openstreetmap.org./nominatim.git/commitdiff_plain/2d05ff01905df13c9a365a4b4e36b432b43828d0 slightly adapt postcode tests --- diff --git a/test/bdd/db/query/normalization.feature b/test/bdd/db/query/normalization.feature index 5e94cd3e..47906133 100644 --- a/test/bdd/db/query/normalization.feature +++ b/test/bdd/db/query/normalization.feature @@ -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 | diff --git a/test/bdd/db/update/naming.feature b/test/bdd/db/update/naming.feature index c6ff1388..6c1a817b 100644 --- a/test/bdd/db/update/naming.feature +++ b/test/bdd/db/update/naming.feature @@ -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 |