From: Artem Ziablytskyi Date: Thu, 7 Apr 2022 12:09:08 +0000 (+0200) Subject: fix bdd tests and docs X-Git-Tag: v4.1.0~63^2 X-Git-Url: https://git.openstreetmap.org./nominatim.git/commitdiff_plain/d1479072ae6a453edd41e90ee5fbba034d384687?ds=sidebyside;hp=9a56e53d50211be8b34ac1ecddf0e2930f987701 fix bdd tests and docs --- diff --git a/docs/api/Output.md b/docs/api/Output.md index 961f48b8..07525a98 100644 --- a/docs/api/Output.md +++ b/docs/api/Output.md @@ -127,7 +127,7 @@ formats depending on the API call. Bavaria - DE-BY + DE-BY Germany de @@ -181,7 +181,7 @@ Additional information requested with `addressdetails=1`, `extratags=1` and London Greater London England - GB-ENG + GB-ENG SW1A 2DU United Kingdom gb diff --git a/test/bdd/api/search/params.feature b/test/bdd/api/search/params.feature index cc86e01b..3f12f1c8 100644 --- a/test/bdd/api/search/params.feature +++ b/test/bdd/api/search/params.feature @@ -34,7 +34,7 @@ Feature: Search queries | postcode | 9495 | | country | Liechtenstein | | country_code | li | - | ISO3166-2-lvl12 | LI-09 | + | ISO3166-2-lvl8 | LI-09 | Examples: | format | diff --git a/test/bdd/api/search/queries.feature b/test/bdd/api/search/queries.feature index d141122e..d378d3f8 100644 --- a/test/bdd/api/search/queries.feature +++ b/test/bdd/api/search/queries.feature @@ -15,7 +15,7 @@ Feature: Search queries | postcode | 9497 | | country | Liechtenstein | | country_code | li | - | ISO3166-2-lvl10 | LI-10 | + | ISO3166-2-lvl8 | LI-10 | Scenario: House number interpolation When sending json search query "Grosssteg 1023, Triesenberg" with address @@ -42,7 +42,7 @@ Feature: Search queries | town | Triesenberg | | country | Liechtenstein | | country_code | li | - | ISO3166-2-lvl10 | LI-10 | + | ISO3166-2-lvl8 | LI-10 | Scenario Outline: Housenumber 0 can be found When sending search query "Gnalpstrasse 0" with address