X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/be58b929f2131d2c6aaa8b5c702a574c3812371b..a33f2c0f5ba43df533b6e137f9151fe67feb20a1:/test/bdd/api/reverse/simple.feature diff --git a/test/bdd/api/reverse/simple.feature b/test/bdd/api/reverse/simple.feature index ccd0becd..4da311e7 100644 --- a/test/bdd/api/reverse/simple.feature +++ b/test/bdd/api/reverse/simple.feature @@ -13,8 +13,6 @@ Feature: Simple Reverse Tests Then the result is valid json When sending geojson reverse coordinates , Then the result is valid geojson - When sending html reverse coordinates , - Then the result is valid html Examples: | lat | lon | @@ -28,10 +26,6 @@ Feature: Simple Reverse Tests | param | value | | | | Then the result is valid xml - When sending html reverse coordinates 53.603,10.041 - | param | value | - | | | - Then the result is valid html When sending xml reverse coordinates 53.603,10.041 | param | value | | | | @@ -55,8 +49,6 @@ Feature: Simple Reverse Tests Examples: | parameter | value | - | polygon | 1 | - | polygon | 0 | | polygon_text | 1 | | polygon_text | 0 | | polygon_kml | 1 | @@ -79,10 +71,10 @@ Feature: Simple Reverse Tests | geojson | geojson | Scenario Outline: Boundingbox is returned - When sending reverse coordinates 14.62,108.1 + When sending 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 | @@ -92,7 +84,7 @@ Feature: Simple Reverse Tests | xml | Scenario Outline: Reverse-geocoding with zoom - When sending reverse coordinates 53.603,10.041 + When sending reverse coordinates 47.11,9.57 | zoom | | 10 | Then exactly 1 result is returned @@ -102,7 +94,6 @@ Feature: Simple Reverse Tests | json | | jsonv2 | | geojson | - | html | | xml | Scenario: Missing lon parameter @@ -140,3 +131,7 @@ Feature: Simple Reverse Tests | 48.966 | 8.448.2 | | Nan | 8.448 | | 48.966 | Nan | + + Scenario: Reverse Debug output returns no errors + When sending debug reverse coordinates 47.11,9.57 + Then a HTTP 200 is returned