Fix sync test after 7b0ed6da81

This commit is contained in:
Dan Stillman 2017-08-05 01:41:21 +02:00
parent 34e23937a1
commit 8b7f33826e

View File

@ -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
});