X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/279ea25e7debfeef06a0247d55499ee02b6b4de6..aa7c8b6b5bf40a950eabae8a040cd069bd045e39:/tests/features/api/reverse_simple.feature?ds=sidebyside diff --git a/tests/features/api/reverse_simple.feature b/tests/features/api/reverse_simple.feature index 5d79fd4b..6100f54c 100644 --- a/tests/features/api/reverse_simple.feature +++ b/tests/features/api/reverse_simple.feature @@ -99,35 +99,35 @@ Feature: Simple Reverse Tests | lat | 51.51 When sending an API call reverse - Then exactly 0 results are returned + Then a HTTP 400 is returned Scenario: Missing lat parameter Given the request parameters | lon | -79.39114 When sending an API call reverse - Then exactly 0 results are returned + Then a HTTP 400 is returned Scenario: Missing osm_id parameter Given the request parameters | osm_type | N When sending an API call reverse - Then exactly 0 results are returned + Then a HTTP 400 is returned Scenario: Missing osm_type parameter Given the request parameters | osm_id | 3498564 When sending an API call reverse - Then exactly 0 results are returned + Then a HTTP 400 is returned Scenario Outline: Bad format for lat or lon Given the request parameters | lat | lon | | | | When sending an API call reverse - Then exactly 0 results are returned + Then a HTTP 400 is returned Examples: | lat | lon @@ -137,4 +137,4 @@ Feature: Simple Reverse Tests | 48.966.0 | 8.4482 | 48.966 | 8.448.2 | Nan | 8.448 - | 48.966 | Nan \ No newline at end of file + | 48.966 | Nan