mirror of
https://github.com/osm-search/Nominatim.git
synced 2026-02-16 15:47:58 +00:00
fixup tests
This commit is contained in:
@@ -25,7 +25,6 @@ Feature: Search queries
|
||||
| type | value |
|
||||
| city | Montevideo |
|
||||
| state | Montevideo |
|
||||
| postcode | 11000 |
|
||||
| country | Uruguay |
|
||||
| country_code | uy |
|
||||
|
||||
|
||||
@@ -79,13 +79,11 @@ Feature: Import into placex
|
||||
| osm | class | type | postcode | geometry |
|
||||
| N1 | place | postcode | EA452CD | country:gb |
|
||||
| N2 | place | postcode | E45 23 | country:gb |
|
||||
| N3 | place | postcode | y45 | country:gb |
|
||||
When importing
|
||||
Then placex contains
|
||||
| object | country_code | rank_search | rank_address |
|
||||
| N1 | gb | 30 | 30 |
|
||||
| N2 | gb | 30 | 30 |
|
||||
| N3 | gb | 30 | 30 |
|
||||
|
||||
Scenario: search and address rank for DE postcodes correctly assigned
|
||||
Given the places
|
||||
|
||||
@@ -25,7 +25,9 @@ Feature: Searching of simple objects
|
||||
| osm | class | type | postcode | geometry |
|
||||
| R1 | boundary | postal_code | 54321 | poly-area:1.0 |
|
||||
And searching for "12345"
|
||||
Then exactly 0 results are returned
|
||||
Then results contain
|
||||
| osm_type |
|
||||
| P |
|
||||
When searching for "54321"
|
||||
Then results contain
|
||||
| ID | osm_type | osm_id |
|
||||
|
||||
Reference in New Issue
Block a user