]> git.openstreetmap.org Git - nominatim.git/commit
bdd tests: do not query word table directly
authorSarah Hoffmann <lonvia@denofr.de>
Sat, 24 Jul 2021 10:12:31 +0000 (12:12 +0200)
committerSarah Hoffmann <lonvia@denofr.de>
Wed, 28 Jul 2021 09:31:47 +0000 (11:31 +0200)
commit324b1b5575ce1793d90cdb9837230f76acd8169e
treeea96a6bcfdb38d200517b5114df2faedb7d30694
parente42878eeda111457018684a3f60417c0ed6c5294
bdd tests: do not query word table directly

The BDD tests cannot make assumptions about the structure of the
word table anymore because it depends on the tokenizer. Use more
abstract descriptions instead that ask for specific kinds of
tokens.
lib-php/tokenizer/legacy_icu_tokenizer.php
test/bdd/db/import/postcodes.feature
test/bdd/db/update/postcode.feature
test/bdd/steps/steps_db_ops.py