diff options
author | toasted-nutbread <toasted-nutbread@users.noreply.github.com> | 2020-02-22 14:42:05 -0500 |
---|---|---|
committer | toasted-nutbread <toasted-nutbread@users.noreply.github.com> | 2020-02-22 14:43:06 -0500 |
commit | 418e7f9968ba8a6e302ec1e1b6d7dafe4b85fd97 (patch) | |
tree | 3116b3a9429077d77f16d374835ab768d8b0d9d4 /test/test-database.js | |
parent | 54bb702b843ae9a312704f27e282bf340e8197fc (diff) |
Update titles type
Diffstat (limited to 'test/test-database.js')
-rw-r--r-- | test/test-database.js | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/test/test-database.js b/test/test-database.js index 4fb3805d..04ed8100 100644 --- a/test/test-database.js +++ b/test/test-database.js @@ -136,7 +136,9 @@ async function testDatabase1() { const testDictionaryIndex = JSON.parse(await testDictionary.files['index.json'].async('string')); const title = testDictionaryIndex.title; - const titles = [title]; + const titles = new Map([ + [title, {priority: 0, allowSecondarySearches: false}] + ]); // Setup iteration data const iterations = [ @@ -815,7 +817,9 @@ async function testDatabase2() { const testDictionaryIndex = JSON.parse(await testDictionary.files['index.json'].async('string')); const title = testDictionaryIndex.title; - const titles = [title]; + const titles = new Map([ + [title, {priority: 0, allowSecondarySearches: false}] + ]); // Setup database const database = new Database(); |