]> git.openstreetmap.org Git - nominatim.git/blobdiff - tests/features/api/search_simple.feature
correctly handle comma-only exclude_place_ids
[nominatim.git] / tests / features / api / search_simple.feature
index 9c796e99d9ab46628c02dc3bb7d966ced1f9f039..3e6b6e35b80fb85ccd4d6448b9979063799564d2 100644 (file)
@@ -166,6 +166,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