Fix group.fromJSON() with no 'admins' or 'members' arrays
This commit is contained in:
parent
79f0e4761f
commit
4f155e3432
2 changed files with 7 additions and 3 deletions
|
@ -133,7 +133,7 @@ describe("Zotero.Group", function () {
|
|||
owner: 1,
|
||||
libraryEditing: 'members',
|
||||
fileEditing: 'none',
|
||||
admins: [2],
|
||||
// No admins
|
||||
members: [3]
|
||||
}, 3);
|
||||
assert.isTrue(group.editable);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue