commit 8b7f33826e60b740673f1b1de7c9cf9ad58e317b
parent 34e23937a158344a4dcb9ca3d89a580087226d89
Author: Dan Stillman <dstillman@zotero.org>
Date: Sat, 5 Aug 2017 01:41:21 +0200
Fix sync test after 7b0ed6da81
Diffstat:
1 file changed, 7 insertions(+), 0 deletions(-)
diff --git a/test/tests/syncRunnerTest.js b/test/tests/syncRunnerTest.js
@@ -1020,6 +1020,13 @@ describe("Zotero.Sync.Runner", function () {
win = yield loadZoteroPane();
var libraryID = Zotero.Libraries.userLibraryID;
+ setResponse({
+ method: "GET",
+ url: "keys/current",
+ status: 403,
+ headers: {},
+ text: "Invalid Key"
+ });
yield runner.sync({
background: true
});