Fix sync test after 7b0ed6da81
This commit is contained in:
parent
34e23937a1
commit
8b7f33826e
|
@ -1020,6 +1020,13 @@ describe("Zotero.Sync.Runner", function () {
|
||||||
win = yield loadZoteroPane();
|
win = yield loadZoteroPane();
|
||||||
var libraryID = Zotero.Libraries.userLibraryID;
|
var libraryID = Zotero.Libraries.userLibraryID;
|
||||||
|
|
||||||
|
setResponse({
|
||||||
|
method: "GET",
|
||||||
|
url: "keys/current",
|
||||||
|
status: 403,
|
||||||
|
headers: {},
|
||||||
|
text: "Invalid Key"
|
||||||
|
});
|
||||||
yield runner.sync({
|
yield runner.sync({
|
||||||
background: true
|
background: true
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue
Block a user