fix bdd tests and docs

This commit is contained in:
Artem Ziablytskyi
2022-04-07 14:09:08 +02:00
committed by Sarah Hoffmann
parent 9a56e53d50
commit d1479072ae
3 changed files with 5 additions and 5 deletions

View File

@@ -127,7 +127,7 @@ formats depending on the API call.
</result> </result>
<addressparts> <addressparts>
<state>Bavaria</state> <state>Bavaria</state>
<ISO3166-2-lvl4>DE-BY</state_code> <ISO3166-2-lvl4>DE-BY</ISO3166-2-lvl4>
<country>Germany</country> <country>Germany</country>
<country_code>de</country_code> <country_code>de</country_code>
</addressparts> </addressparts>
@@ -181,7 +181,7 @@ Additional information requested with `addressdetails=1`, `extratags=1` and
<city>London</city> <city>London</city>
<state_district>Greater London</state_district> <state_district>Greater London</state_district>
<state>England</state> <state>England</state>
<ISO3166-2-lvl4>GB-ENG</state_code> <ISO3166-2-lvl4>GB-ENG</ISO3166-2-lvl4>
<postcode>SW1A 2DU</postcode> <postcode>SW1A 2DU</postcode>
<country>United Kingdom</country> <country>United Kingdom</country>
<country_code>gb</country_code> <country_code>gb</country_code>

View File

@@ -34,7 +34,7 @@ Feature: Search queries
| postcode | 9495 | | postcode | 9495 |
| country | Liechtenstein | | country | Liechtenstein |
| country_code | li | | country_code | li |
| ISO3166-2-lvl12 | LI-09 | | ISO3166-2-lvl8 | LI-09 |
Examples: Examples:
| format | | format |

View File

@@ -15,7 +15,7 @@ Feature: Search queries
| postcode | 9497 | | postcode | 9497 |
| country | Liechtenstein | | country | Liechtenstein |
| country_code | li | | country_code | li |
| ISO3166-2-lvl10 | LI-10 | | ISO3166-2-lvl8 | LI-10 |
Scenario: House number interpolation Scenario: House number interpolation
When sending json search query "Grosssteg 1023, Triesenberg" with address When sending json search query "Grosssteg 1023, Triesenberg" with address
@@ -42,7 +42,7 @@ Feature: Search queries
| town | Triesenberg | | town | Triesenberg |
| country | Liechtenstein | | country | Liechtenstein |
| country_code | li | | country_code | li |
| ISO3166-2-lvl10 | LI-10 | | ISO3166-2-lvl8 | LI-10 |
Scenario Outline: Housenumber 0 can be found Scenario Outline: Housenumber 0 can be found
When sending <format> search query "Gnalpstrasse 0" with address When sending <format> search query "Gnalpstrasse 0" with address