]> git.openstreetmap.org Git - nominatim.git/blobdiff - tests/features/api/search_simple.feature
fix viewbox parameters in tests
[nominatim.git] / tests / features / api / search_simple.feature
index 9c796e99d9ab46628c02dc3bb7d966ced1f9f039..0020cc2e4e9afb91ab4485c88d0e9c4d6bc4be8b 100644 (file)
@@ -51,13 +51,17 @@ Feature: Simple Tests
      | limit            | 1000
      | dedupe           | 1
      | dedupe           | 0
+     | extratags        | 1
+     | extratags        | 0
+     | namedetails      | 1
+     | namedetails      | 0
 
     Scenario: Search with invalid output format
         Given the request parameters
           | 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 "<query>"
@@ -166,6 +170,13 @@ Feature: Simple Tests
           | attr              | value
           | exclude_place_ids | 123,76,342565
 
+    Scenario: Empty XML search with bad exluded place ids
+        Given the request parameters
+          | exclude_place_ids
+          | ,
+        When sending xml search query "jghrleoxsbwjer"
+        Then result header has no attribute exclude_place_ids
+
     Scenario Outline: Wrapping of legal jsonp search requests
         Given the request parameters
           | json_callback