From: Sarah Hoffmann Date: Wed, 20 Nov 2019 08:57:40 +0000 (+0100) Subject: adapt tests for new wikipedia tables X-Git-Tag: v3.5.0~132^2~1 X-Git-Url: https://git.openstreetmap.org./nominatim.git/commitdiff_plain/9fed91a47f46a3b61d4c0731e68a4d68f32765c7 adapt tests for new wikipedia tables --- diff --git a/test/bdd/api/search/params.feature b/test/bdd/api/search/params.feature index 23a86705..cdea3f69 100644 --- a/test/bdd/api/search/params.feature +++ b/test/bdd/api/search/params.feature @@ -119,13 +119,13 @@ Feature: Search queries | en | Then result addresses contain | ID | state | - | 0 | Salto | + | 0 | Florida | When sending json search query "25 de Mayo" with address | accept-language | viewbox | - | en | -56.35879,-34.18330,-56.31618,-34.20815 | + | en | -57.95468,-31.39261,-57.94741,-31.39490 | Then result addresses contain | ID | state | - | 0 | Florida | + | 0 | Salto | Scenario: viewboxes cannot be points When sending json search query "foo" diff --git a/test/testdb/wikimedia-importance.sql.gz b/test/testdb/wikimedia-importance.sql.gz new file mode 100644 index 00000000..1024f725 Binary files /dev/null and b/test/testdb/wikimedia-importance.sql.gz differ diff --git a/test/testdb/wikipedia_article.sql.bin b/test/testdb/wikipedia_article.sql.bin deleted file mode 100644 index 628e2af4..00000000 Binary files a/test/testdb/wikipedia_article.sql.bin and /dev/null differ diff --git a/test/testdb/wikipedia_redirect.sql.bin b/test/testdb/wikipedia_redirect.sql.bin deleted file mode 100644 index 9c4b513d..00000000 Binary files a/test/testdb/wikipedia_redirect.sql.bin and /dev/null differ