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:
@@ -71,10 +71,10 @@ Feature: Simple Reverse Tests
|
||||
| geojson | geojson |
|
||||
|
||||
Scenario Outline: Boundingbox is returned
|
||||
When sending <format> reverse coordinates 14.62,108.1
|
||||
When sending <format> reverse coordinates 47.11,9.57
|
||||
| zoom |
|
||||
| 8 |
|
||||
Then result has bounding box in 9,20,102,113
|
||||
Then result has bounding box in 47,48,9,10
|
||||
|
||||
Examples:
|
||||
| format |
|
||||
@@ -84,7 +84,7 @@ Feature: Simple Reverse Tests
|
||||
| xml |
|
||||
|
||||
Scenario Outline: Reverse-geocoding with zoom
|
||||
When sending <format> reverse coordinates 53.603,10.041
|
||||
When sending <format> reverse coordinates 47.11,9.57
|
||||
| zoom |
|
||||
| 10 |
|
||||
Then exactly 1 result is returned
|
||||
|
||||
Reference in New Issue
Block a user