adapt osm2pgsql tests for new address column

This commit is contained in:
Sarah Hoffmann
2017-03-25 23:12:51 +01:00
parent c8e79397f5
commit 49b5e4dbad
5 changed files with 77 additions and 81 deletions

View File

@@ -137,7 +137,7 @@ Feature: Update of relations by osm2pgsql
r1 Ttype=boundary,boundary=administrative,name=Foo,country_code=XX,admin_level=2 Mw1@
"""
Then place contains
| object | country_code | name |
| object | addr+country | name |
| R1 | XX | 'name' : 'Foo' |
Scenario: Country boundary names are extended when country_code known
@@ -154,6 +154,6 @@ Feature: Update of relations by osm2pgsql
r1 Ttype=boundary,boundary=administrative,name=Foo,country_code=ch,admin_level=2 Mw1@
"""
Then place contains
| object | country_code | name+name:de | name+name |
| object | addr+country | name+name:de | name+name |
| R1 | ch | Schweiz | Foo |