]> git.openstreetmap.org Git - nominatim.git/blobdiff - test/bdd/api/reverse/queries.feature
have reverse fall back to country table when no country is found
[nominatim.git] / test / bdd / api / reverse / queries.feature
index f154b18debb7a99ec845ea67d4c8a5159986d6d2..fc28cee31e080acf9f32771954dbe0ea9198cdab 100644 (file)
@@ -10,15 +10,19 @@ Feature: Reverse geocoding
     Examples:
      | lat      | lon |
      | 0.0      | 0.0 |
-     | -34.830  | -56.105 |
-     | 45.174   | -103.072 |
-     | 21.156   | -12.2744 |
      | 91.3     | 0.4    |
      | -700     | 0.4    |
      | 0.2      | 324.44 |
      | 0.2      | -180.4 |
 
 
+    Scenario: Unknown countries fall back to default country grid
+        When sending v1/reverse at 45.174,-103.072
+        Then results contain
+          | category | type    | display_name |
+          | place    | country | United States |
+
+
     @Tiger
     Scenario: TIGER house number
         When sending v1/reverse at 32.4752389363,-86.4810198619