X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/051998dd80b0def50058266b7adbdf2e971032eb..348a3082c926bc6f8d9a2b5ba9341a9bae338ab6:/tests/features/api/search_params.feature diff --git a/tests/features/api/search_params.feature b/tests/features/api/search_params.feature index 150d6bdc..0b21d558 100644 --- a/tests/features/api/search_params.feature +++ b/tests/features/api/search_params.feature @@ -187,7 +187,6 @@ Feature: Search queries | 0.0 | 0.5 | 999 - | nan Scenario Outline: Search with polygon threshold (xml) Given the request parameters @@ -203,7 +202,14 @@ Feature: Search queries | 0.0 | 0.5 | 999 - | nan + + Scenario Outline: Search with invalid polygon threshold (xml) + Given the request parameters + | polygon_geojson | polygon_threshold + | 1 | + When sending xml search query "switzerland" + Then a HTTP 400 is returned + Scenario Outline: Search with extratags Given the request parameters