Fix some test breakages related to .note/.getNote() changes
This commit is contained in:
parent
9997ece0d2
commit
0fe6e3d055
2 changed files with 19 additions and 10 deletions
|
@ -227,7 +227,7 @@ describe("Zotero.DataObject", function() {
|
|||
var item = new Zotero.Item('book');
|
||||
var id = yield item.saveTx();
|
||||
yield item.loadAllData();
|
||||
assert.throws(item.getNote.bind(item), 'note can only be called on notes and attachments');
|
||||
assert.throws(item.getNote.bind(item), 'getNote() can only be called on notes and attachments');
|
||||
})
|
||||
|
||||
it("should load data on an attachment item", function* () {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue