Save master item when merging
This commit is contained in:
parent
877063e73d
commit
13c4bbebfa
2 changed files with 2 additions and 1 deletions
|
@ -27,6 +27,7 @@ describe("Zotero.Items", function () {
|
|||
assert.isTrue(item2.deleted);
|
||||
|
||||
// Check for merge-tracking relation
|
||||
assert.isFalse(item1.hasChanged());
|
||||
var rels = item1.getRelationsByPredicate(Zotero.Relations.replacedItemPredicate);
|
||||
assert.lengthOf(rels, 1);
|
||||
assert.equal(rels[0], item2URI);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue