]> git.openstreetmap.org Git - nominatim.git/blobdiff - test/bdd/api/reverse/language.feature
Merge pull request #2324 from lonvia/generic-external-postcodes
[nominatim.git] / test / bdd / api / reverse / language.feature
index 9bde2d4e7eafcf59862c052674adf93a24d14374..43d1f11b7840ed0da832b0641f6ee6bcda7793f7 100644 (file)
@@ -2,35 +2,35 @@
 Feature: Localization of reverse search results
 
     Scenario: default language
 Feature: Localization of reverse search results
 
     Scenario: default language
-        When sending json reverse coordinates 18.1147,-15.95
+        When sending json reverse coordinates 47.14,9.55
         Then result addresses contain
           | ID | country |
         Then result addresses contain
           | ID | country |
-          | 0  | Mauritanie موريتانيا |
+          | 0  | Liechtenstein |
 
     Scenario: accept-language parameter
 
     Scenario: accept-language parameter
-        When sending json reverse coordinates 18.1147,-15.95
+        When sending json reverse coordinates 47.14,9.55
           | accept-language |
           | accept-language |
-          | en,fr |
+          | ja,en |
         Then result addresses contain
           | ID | country |
         Then result addresses contain
           | ID | country |
-          | 0  | Mauritania |
+          | 0  | リヒテンシュタイン |
 
     Scenario: HTTP accept language header
         Given the HTTP header
           | accept-language |
 
     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 json reverse coordinates 47.14,9.55
         Then result addresses contain
           | ID | country |
         Then result addresses contain
           | ID | country |
-          | 0  | Mauritanie |
+          | 0  | Liktinstein |
 
     Scenario: accept-language parameter and HTTP header
         Given the HTTP header
           | accept-language |
 
     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 json reverse coordinates 47.14,9.55
           | accept-language |
           | en |
         Then result addresses contain
           | ID | country |
           | accept-language |
           | en |
         Then result addresses contain
           | ID | country |
-          | 0  | Mauritania |
+          | 0  | Liechtenstein |