mirror of
https://github.com/osm-search/Nominatim.git
synced 2026-02-16 15:47:58 +00:00
adapt API tests to latest data
This commit is contained in:
@@ -6,7 +6,7 @@ Feature: API regression tests
|
||||
When sending json search query "<query>" with address
|
||||
Then result addresses contain
|
||||
| ID | road | city
|
||||
| 0 | Seegasse | Gemeinde Wieselburg-Land
|
||||
| 0 | Seegasse | Wieselburg-Land
|
||||
|
||||
Examples:
|
||||
| query
|
||||
|
||||
@@ -16,12 +16,12 @@ Feature: Search queries
|
||||
Scenario: House number search for non-street address
|
||||
Given the request parameters
|
||||
| accept-language
|
||||
| en
|
||||
When sending json search query "4 Pomocnia, Poland" with address
|
||||
| en
|
||||
When sending json search query "4 Pomocnia, Pokrzywnica, Poland" with address
|
||||
Then address of result 0 is
|
||||
| type | value
|
||||
| house_number | 4
|
||||
| suburb | Pomocnia
|
||||
| city | Pomocnia
|
||||
| county | gmina Pokrzywnica
|
||||
| state | Masovian Voivodeship
|
||||
| postcode | 06-121
|
||||
|
||||
@@ -2,6 +2,9 @@ Feature: Result order for Geocoding
|
||||
Testing that importance ordering returns sensible results
|
||||
|
||||
Scenario Outline: city order in street search
|
||||
Given the request parameters
|
||||
| limit
|
||||
| 100
|
||||
When sending json search query "<street>, <city>" with address
|
||||
Then address of result 0 contains
|
||||
| type | value
|
||||
|
||||
@@ -31,6 +31,7 @@ Feature: Search queries
|
||||
| type | value
|
||||
| city | Inuvik
|
||||
| state | Northwest Territories
|
||||
| postcode | X0E 0T0
|
||||
| country | Canada
|
||||
| country_code | ca
|
||||
|
||||
|
||||
Reference in New Issue
Block a user