From 8b7f33826e60b740673f1b1de7c9cf9ad58e317b Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Sat, 5 Aug 2017 01:41:21 +0200 Subject: [PATCH] Fix sync test after 7b0ed6da81 --- test/tests/syncRunnerTest.js | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/test/tests/syncRunnerTest.js b/test/tests/syncRunnerTest.js index e83b6964a6..24e73df3d6 100644 --- 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 });