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,13 +3,15 @@ Feature: Parameters for Reverse API
|
||||
Testing correctness of geocodejson output.
|
||||
|
||||
Scenario: City housenumber-level address with street
|
||||
When sending geocodejson reverse coordinates 53.556,9.9607
|
||||
When sending geocodejson reverse coordinates 47.1068011,9.52810091
|
||||
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 reverse coordinates 47.066,9.504
|
||||
| zoom |
|
||||
| 16 |
|
||||
Then results contain
|
||||
| name | city | postcode | country |
|
||||
| Gnetsch | Balzers | 9496 | Liechtenstein |
|
||||
@@ -21,7 +23,7 @@ Feature: Parameters for Reverse API
|
||||
| Burgweg | Balzers | 9496 | Liechtenstein |
|
||||
|
||||
Scenario: City address with suburb
|
||||
When sending geocodejson reverse coordinates 53.5822,10.0805
|
||||
When sending geocodejson reverse coordinates 47.146861,9.511771
|
||||
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