]> git.openstreetmap.org Git - nominatim.git/blobdiff - test/bdd/api/reverse/language.feature
Merge remote-tracking branch 'upstream/master'
[nominatim.git] / test / bdd / api / reverse / language.feature
index 9ead4e020289399f0b9f9e2ce6125c2c87ec7a53..69f84ebc4a030cdbe4cd89d47307d90b9b86c046 100644 (file)
@@ -1,36 +1,37 @@
+@SQLITE
 @APIDB
 Feature: Localization of reverse search results
 
     Scenario: default language
-        When sending json reverse coordinates 18.1147,-15.95
+        When sending v1/reverse at 47.14,9.55
         Then result addresses contain
           | ID | country |
-          | 0  | موريتانيا |
+          | 0  | Liechtenstein |
 
     Scenario: accept-language parameter
-        When sending json reverse coordinates 18.1147,-15.95
+        When sending v1/reverse at 47.14,9.55
           | accept-language |
-          | en,fr |
+          | ja,en |
         Then result addresses contain
           | ID | country |
-          | 0  | Mauritania |
+          | 0  | リヒテンシュタイン |
 
     Scenario: HTTP accept language header
         Given the HTTP header
           | accept-language |
-          | fr-ca,fr;q=0.8,en-ca;q=0.5,en;q=0.3 |
-        When sending json reverse coordinates 18.1147,-15.95
+          | fo-ca,fo;q=0.8,en-ca;q=0.5,en;q=0.3 |
+        When sending v1/reverse at 47.14,9.55
         Then result addresses contain
           | ID | country |
-          | 0  | Mauritanie |
+          | 0  | Liktinstein |
 
     Scenario: accept-language parameter and HTTP header
         Given the HTTP header
           | accept-language |
-          | fr-ca,fr;q=0.8,en-ca;q=0.5,en;q=0.3 |
-        When sending json reverse coordinates 18.1147,-15.95
+          | fo-ca,fo;q=0.8,en-ca;q=0.5,en;q=0.3 |
+        When sending v1/reverse at 47.14,9.55
           | accept-language |
           | en |
         Then result addresses contain
           | ID | country |
-          | 0  | Mauritania |
+          | 0  | Liechtenstein |