use ISO3166-2-lvl<admin_level> instead of typeLabel prefix

This commit is contained in:
Artem Ziablytskyi
2022-04-06 19:24:39 +02:00
committed by Sarah Hoffmann
parent 7899654675
commit 9a56e53d50
6 changed files with 13 additions and 9 deletions

View File

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

View File

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