X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/d8dca2a3a9049db7da8b805042833846a188290d..416e70b97e2fe8e387bc1057084a81f71682dec2:/test/bdd/api/reverse/queries.feature diff --git a/test/bdd/api/reverse/queries.feature b/test/bdd/api/reverse/queries.feature index 37abb22d..fc28cee3 100644 --- a/test/bdd/api/reverse/queries.feature +++ b/test/bdd/api/reverse/queries.feature @@ -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 @@ -39,7 +43,7 @@ Feature: Reverse geocoding | way | highway | And result addresses contain | road | postcode | country_code | - | Upper Kingston Road | 30607 | us | + | Upper Kingston Road | 36067 | us | Scenario: Interpolated house number When sending v1/reverse at 47.118533,9.57056562