From 7ca521929725599b83a41ebd4edc20d3f190ab06 Mon Sep 17 00:00:00 2001 From: Sarah Hoffmann Date: Sat, 19 Aug 2017 19:36:34 +0200 Subject: [PATCH] fixup tests --- test/bdd/api/search/params.feature | 1 - test/bdd/db/import/placex.feature | 2 -- test/bdd/db/query/search_simple.feature | 4 +++- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/test/bdd/api/search/params.feature b/test/bdd/api/search/params.feature index d21f317e..bfc7cb15 100644 --- a/test/bdd/api/search/params.feature +++ b/test/bdd/api/search/params.feature @@ -25,7 +25,6 @@ Feature: Search queries | type | value | | city | Montevideo | | state | Montevideo | - | postcode | 11000 | | country | Uruguay | | country_code | uy | diff --git a/test/bdd/db/import/placex.feature b/test/bdd/db/import/placex.feature index f124e482..f3695642 100644 --- a/test/bdd/db/import/placex.feature +++ b/test/bdd/db/import/placex.feature @@ -79,13 +79,11 @@ Feature: Import into placex | osm | class | type | postcode | geometry | | N1 | place | postcode | EA452CD | country:gb | | N2 | place | postcode | E45 23 | country:gb | - | N3 | place | postcode | y45 | country:gb | When importing Then placex contains | object | country_code | rank_search | rank_address | | N1 | gb | 30 | 30 | | N2 | gb | 30 | 30 | - | N3 | gb | 30 | 30 | Scenario: search and address rank for DE postcodes correctly assigned Given the places diff --git a/test/bdd/db/query/search_simple.feature b/test/bdd/db/query/search_simple.feature index 417df769..409ed44f 100644 --- a/test/bdd/db/query/search_simple.feature +++ b/test/bdd/db/query/search_simple.feature @@ -25,7 +25,9 @@ Feature: Searching of simple objects | osm | class | type | postcode | geometry | | R1 | boundary | postal_code | 54321 | poly-area:1.0 | And searching for "12345" - Then exactly 0 results are returned + Then results contain + | osm_type | + | P | When searching for "54321" Then results contain | ID | osm_type | osm_id | -- 2.45.1