]> git.openstreetmap.org Git - nominatim.git/blobdiff - tests/features/api/search_simple.feature
further decrease bbox size in tests
[nominatim.git] / tests / features / api / search_simple.feature
index 9c796e99d9ab46628c02dc3bb7d966ced1f9f039..747d4004d9c008c711a9bdff10f9860841dc59c1 100644 (file)
@@ -104,35 +104,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
@@ -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