X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/051998dd80b0def50058266b7adbdf2e971032eb..84b976f9063129728ca12a5537900bdbf97fafa1:/tests/features/api/search_simple.feature?ds=sidebyside diff --git a/tests/features/api/search_simple.feature b/tests/features/api/search_simple.feature index 2cb27b7c..ec2b7126 100644 --- a/tests/features/api/search_simple.feature +++ b/tests/features/api/search_simple.feature @@ -61,7 +61,7 @@ Feature: Simple Tests | format | fd$# When sending search query "Berlin" - Then the result is valid html + Then a HTTP 400 is returned Scenario Outline: Simple Searches When sending search query "" @@ -108,35 +108,35 @@ Feature: Simple Tests Scenario: Empty XML search with viewbox Given the request parameters | viewbox - | 12,45.13,77,33 + | 12,45.13,13,44 When sending xml search query "xnznxvcx" Then result header contains | attr | value | querystring | xnznxvcx | polygon | false - | viewbox | 12,45.13,77,33 + | viewbox | 12,45.13,13,44 Scenario: Empty XML search with viewboxlbrt Given the request parameters | viewboxlbrt - | 12,34.13,77,45 + | 12,34.13,13,35 When sending xml search query "xnznxvcx" Then result header contains | attr | value | querystring | xnznxvcx | polygon | false - | viewbox | 12,45.13,77,33 + | viewbox | 12,34.13,13,35 Scenario: Empty XML search with viewboxlbrt and viewbox Given the request parameters - | viewbox | viewboxblrt - | 12,45.13,77,33 | 1,2,3,4 + | viewbox | viewboxblrt + | 12,45.13,13.5,44 | 1,0,2,1 When sending xml search query "pub" Then result header contains | attr | value | querystring | pub | polygon | false - | viewbox | 12,45.13,77,33 + | viewbox | 12,45.13,13.5,44 Scenario Outline: Empty XML search with polygon values