mirror of
https://github.com/osm-search/Nominatim.git
synced 2026-02-16 15:47:58 +00:00
bdd: convert API tests to smaller test db
Changes BDD API tests to restrict themselves to Liechtenstein. One test moved to DB as no appropriate data is available.
This commit is contained in:
@@ -3,10 +3,10 @@ Feature: Parameters for Search API
|
||||
Testing correctness of geocodejson output.
|
||||
|
||||
Scenario: City housenumber-level address with street
|
||||
When sending geocodejson search query "Brunnenhofstr 10, Hamburg" with address
|
||||
When sending geocodejson search query "Im Winkel 8, Triesen" with address
|
||||
Then results contain
|
||||
| housenumber | street | postcode | city | country |
|
||||
| 10 | Brunnenhofstraße | 22767 | Hamburg | Deutschland |
|
||||
| housenumber | street | postcode | city | country |
|
||||
| 8 | Im Winkel | 9495 | Triesen | Liechtenstein |
|
||||
|
||||
Scenario: Town street-level address with street
|
||||
When sending geocodejson search query "Gnetsch, Balzers" with address
|
||||
@@ -21,7 +21,7 @@ Feature: Parameters for Search API
|
||||
| Burgweg | Balzers | 9496 | Liechtenstein |
|
||||
|
||||
Scenario: City address with suburb
|
||||
When sending geocodejson search query "hinschenfelder str 64, wandsbek" with address
|
||||
When sending geocodejson search query "Lochgass 5, Ebenholz, Vaduz" with address
|
||||
Then results contain
|
||||
| housenumber | street | district | city | postcode | country |
|
||||
| 64 | Hinschenfelder Straße | Wandsbek | Hamburg | 22047 | Deutschland |
|
||||
| housenumber | street | district | city | postcode | country |
|
||||
| 5 | Lochgass | Ebenholz | Vaduz | 9490 | Liechtenstein |
|
||||
|
||||
Reference in New Issue
Block a user