mirror of
https://github.com/osm-search/Nominatim.git
synced 2026-02-26 11:08:13 +00:00
slightly adapt postcode tests
This commit is contained in:
@@ -160,10 +160,10 @@ Feature: Import and search of names
|
|||||||
| | 2 | |
|
| | 2 | |
|
||||||
| 1 | | 3 |
|
| 1 | | 3 |
|
||||||
Given the places
|
Given the places
|
||||||
| osm | class | type | postcode | geometry |
|
| osm | class | type | postcode | geometry |
|
||||||
| R1 | boundary | postal_code | 12345 | (1,2,3,1) |
|
| R1 | boundary | postal_code | 123-45 | (1,2,3,1) |
|
||||||
When importing
|
When importing
|
||||||
When sending search query "12345"
|
When sending search query "123-45"
|
||||||
Then results contain
|
Then results contain
|
||||||
| ID | osm |
|
| ID | osm |
|
||||||
| 0 | R1 |
|
| 0 | R1 |
|
||||||
|
|||||||
@@ -8,9 +8,9 @@ Feature: Update of names in place objects
|
|||||||
| 4 | 3 |
|
| 4 | 3 |
|
||||||
Given the places
|
Given the places
|
||||||
| osm | class | type | postcode | geometry |
|
| 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
|
When importing
|
||||||
And sending search query "12345"
|
And sending search query "123-45"
|
||||||
Then results contain
|
Then results contain
|
||||||
| ID | osm |
|
| ID | osm |
|
||||||
| 0 | R1 |
|
| 0 | R1 |
|
||||||
|
|||||||
Reference in New Issue
Block a user