From: Sarah Hoffmann Date: Sat, 30 May 2020 09:50:04 +0000 (+0200) Subject: adapt tests to new search ranks X-Git-Tag: v3.6.0~123^2 X-Git-Url: https://git.openstreetmap.org./nominatim.git/commitdiff_plain/6e4ee160ee8f872ea29ea503ce7c6f058aad39ed adapt tests to new search ranks --- diff --git a/settings/address-levels.json b/settings/address-levels.json index b7fbe2f2..766098dd 100644 --- a/settings/address-levels.json +++ b/settings/address-levels.json @@ -10,7 +10,7 @@ "province" : [8, 0], "region" : [18, 0], "county" : 12, - "municipality" : [17, 14], + "municipality" : 14, "city" : 16, "town" : [18, 16], "borough" : 18, diff --git a/test/bdd/db/import/placex.feature b/test/bdd/db/import/placex.feature index 07bb4295..531483b3 100644 --- a/test/bdd/db/import/placex.feature +++ b/test/bdd/db/import/placex.feature @@ -175,19 +175,19 @@ Feature: Import into placex | N20 | 18 | 16 | | N21 | 19 | 16 | | N22 | 20 | 20 | - | N23 | 17 | 14 | + | N23 | 14 | 14 | | N24 | 19 | 16 | - | N26 | 19 | 18 | - | N27 | 20 | 20 | + | N26 | 18 | 18 | + | N27 | 19 | 20 | | N28 | 20 | 20 | | N29 | 20 | 20 | - | N30 | 20 | 20 | + | N30 | 22 | 20 | | N31 | 20 | 0 | | N32 | 20 | 0 | | N33 | 20 | 0 | | N34 | 20 | 0 | | N101 | 15 | 16 | - | N35 | 22 | 22 | + | N35 | 20 | 22 | | N36 | 30 | 30 | | N37 | 30 | 30 | | N38 | 28 | 0 |