From: Sarah Hoffmann Date: Sat, 31 Oct 2020 21:20:46 +0000 (+0100) Subject: adapt tests to rank changes of natural X-Git-Tag: v3.6.0~36^2~1 X-Git-Url: https://git.openstreetmap.org./nominatim.git/commitdiff_plain/b2ebf4b4b7c7f12cf5eeb946819a245075980e77 adapt tests to rank changes of natural --- diff --git a/test/bdd/db/import/placex.feature b/test/bdd/db/import/placex.feature index 1a62638d..a9e81c44 100644 --- a/test/bdd/db/import/placex.feature +++ b/test/bdd/db/import/placex.feature @@ -216,13 +216,13 @@ Feature: Import into placex | object | rank_search | rank_address | | N2 | 18 | 0 | | N4 | 18 | 0 | - | N5 | 30 | 30 | + | N5 | 22 | 0 | | W2 | 18 | 0 | | R3 | 18 | 0 | - | R4 | 30 | 30 | + | R4 | 22 | 0 | | R5 | 4 | 0 | | R6 | 4 | 0 | - | W3 | 30 | 30 | + | W3 | 22 | 0 | Scenario: boundary ways for countries and states are ignored Given the named places diff --git a/test/bdd/db/update/simple.feature b/test/bdd/db/update/simple.feature index 0ae0ac4a..ccaacad0 100644 --- a/test/bdd/db/update/simple.feature +++ b/test/bdd/db/update/simple.feature @@ -35,7 +35,7 @@ Feature: Update of simple objects When importing Then placex contains | object | rank_address | - | R1 | 30 | + | R1 | 0 | | R2 | 26 | | W1 | 30 | When marking for delete R1,R2,W1