aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2022-05-30 12:03:24 -0400
committerGitHub <noreply@github.com>2022-05-30 12:03:24 -0400
commit19bba07a8bccb51a9db85c13fd921d825defe753 (patch)
tree4354e2d3396f5957a005256a85f60d239ab30c0d /test
parent0b5d54e7c66c17383e23855a1c3d4dbb1ea817fc (diff)
Add support for Anki API key (#2169)
* Update material.css to support password fields * Support password * Add "apiKey" setting * Use apiKey * Update options if API key changes * Update tests
Diffstat (limited to 'test')
-rw-r--r--test/test-options-util.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/test-options-util.js b/test/test-options-util.js
index 425201ce..c4f9a3a9 100644
--- a/test/test-options-util.js
+++ b/test/test-options-util.js
@@ -454,7 +454,8 @@ function createProfileOptionsUpdatedTestData1() {
checkForDuplicates: true,
fieldTemplates: null,
suspendNewCards: false,
- noteGuiMode: 'browse'
+ noteGuiMode: 'browse',
+ apiKey: ''
},
sentenceParsing: {
scanExtent: 200,