Fix group.fromJSON() with no 'admins' or 'members' arrays

This commit is contained in:
Dan Stillman 2015-06-10 01:14:02 -04:00
parent 79f0e4761f
commit 4f155e3432
2 changed files with 7 additions and 3 deletions

View file

@ -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);