Fix test failure calling item.toResponseJSON() with no library set
After #4270
This commit is contained in:
parent
3aaf3432da
commit
17539404b2
1 changed files with 1 additions and 0 deletions
|
@ -1177,6 +1177,7 @@ describe("Zotero.Sync.Data.Engine", function () {
|
|||
|
||||
// Create an attachment response with storage metadata
|
||||
var item = new Zotero.Item('attachment');
|
||||
item.libraryID = Zotero.Libraries.userLibraryID;
|
||||
item.attachmentLinkMode = 'imported_file';
|
||||
item.attachmentFilename = 'test.txt';
|
||||
item.attachmentContentType = 'text/plain';
|
||||
|
|
Loading…
Reference in a new issue