X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/74122dc965560c0fc42343ff7736d89a68196a47..5d656891ba072d88b8b281d239d0dce9f7bd6a1c:/test/bdd/api/reverse/language.feature?ds=sidebyside diff --git a/test/bdd/api/reverse/language.feature b/test/bdd/api/reverse/language.feature index 9ead4e02..43d1f11b 100644 --- a/test/bdd/api/reverse/language.feature +++ b/test/bdd/api/reverse/language.feature @@ -2,35 +2,35 @@ 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 | - | 0 | موريتانيا | + | 0 | Liechtenstein | Scenario: accept-language parameter - When sending json reverse coordinates 18.1147,-15.95 + When sending json reverse coordinates 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 json reverse coordinates 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 json reverse coordinates 47.14,9.55 | accept-language | | en | Then result addresses contain | ID | country | - | 0 | Mauritania | + | 0 | Liechtenstein |