]> git.openstreetmap.org Git - nominatim.git/blobdiff - test/bdd/api/reverse/params.feature
Merge remote-tracking branch 'upstream/master'
[nominatim.git] / test / bdd / api / reverse / params.feature
index 0d35cdc7f3dbee839824e9c9599a4a4cbd080f7a..1de31c9d5fbd12b5c97aff9997be4862da27d62c 100644 (file)
@@ -1,6 +1,6 @@
 @APIDB
 Feature: Parameters for Reverse API
-    Testing diferent parameter options for reverse API.
+    Testing different parameter options for reverse API.
 
     Scenario Outline: Reverse-geocoding without address
         When sending <format> reverse coordinates 53.603,10.041
@@ -15,6 +15,15 @@ Feature: Parameters for Reverse API
       | jsonv2 |
       | xml |
 
+    Scenario Outline: Coordinates must be floating-point numbers
+        When sending reverse coordinates <coords>
+        Then a HTTP 400 is returned
+
+    Examples:
+      | coords    |
+      | -45.3,;   |
+      | gkjd,50   |
+
     Scenario Outline: Reverse Geocoding with extratags
         When sending <format> reverse coordinates 10.776234290950017,106.70425325632095
           | extratags |