Clarify comment for numDistinctFileAttachmentsForLabel()
test
This commit is contained in:
parent
47bf4de08a
commit
14c6d26f20
1 changed files with 1 additions and 1 deletions
|
@ -1362,7 +1362,7 @@ describe("Zotero.Items", function () {
|
||||||
assert.equal(getNum(), 2);
|
assert.equal(getNum(), 2);
|
||||||
});
|
});
|
||||||
|
|
||||||
it("should return 0 for a parent item with a non-PDF attachment when passed `item.isPDFAttachment()` as a filter", async function () {
|
it("should return 0 for a parent item with a non-PDF file attachment when passed `item.isPDFAttachment()` as a filter", async function () {
|
||||||
var item = await createDataObject('item');
|
var item = await createDataObject('item');
|
||||||
var attachment = await importFileAttachment('test.png', { parentItemID: item.id });
|
var attachment = await importFileAttachment('test.png', { parentItemID: item.id });
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue