Don't orphan embedded-image attachments in schema integrity check!
This commit is contained in:
parent
d0bdc45b9f
commit
8b57d0000b
2 changed files with 28 additions and 6 deletions
|
@ -296,5 +296,11 @@ describe("Zotero.Schema", function() {
|
|||
await assert.isTrue(await Zotero.Schema.integrityCheck(true));
|
||||
await assert.isTrue(await Zotero.Schema.integrityCheck());
|
||||
});
|
||||
|
||||
it("should allow embedded-image attachments under notes", async function () {
|
||||
var item = await createDataObject('item', { itemType: 'note' });
|
||||
await createEmbeddedImage(item);
|
||||
await assert.isTrue(await Zotero.Schema.integrityCheck());
|
||||
});
|
||||
})
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue