]> git.openstreetmap.org Git - nominatim.git/commitdiff
adapt tests for new wikipedia tables
authorSarah Hoffmann <lonvia@denofr.de>
Wed, 20 Nov 2019 08:57:40 +0000 (09:57 +0100)
committerSarah Hoffmann <lonvia@denofr.de>
Wed, 20 Nov 2019 08:57:40 +0000 (09:57 +0100)
test/bdd/api/search/params.feature
test/testdb/wikimedia-importance.sql.gz [new file with mode: 0644]
test/testdb/wikipedia_article.sql.bin [deleted file]
test/testdb/wikipedia_redirect.sql.bin [deleted file]

index 23a8670540359f9cbec9e597e87ad6d5c512cd8b..cdea3f69e92ce51385fdcc47277ef2fd31e4c581 100644 (file)
@@ -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 (file)
index 0000000..1024f72
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 (file)
index 628e2af..0000000
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 (file)
index 9c4b513..0000000
Binary files a/test/testdb/wikipedia_redirect.sql.bin and /dev/null differ