make ldap tests pass
This commit is contained in:
@@ -123,7 +123,7 @@ describe('Groups', function () {
|
||||
|
||||
it('can list users of group', async function () {
|
||||
const result = await groups.getMembers(group0Object.id);
|
||||
expect(result).to.eql([ admin.id, user.id ]);
|
||||
expect(result.sort()).to.eql([ admin.id, user.id ].sort());
|
||||
});
|
||||
|
||||
it('cannot list members of non-existent group', async function () {
|
||||
@@ -194,6 +194,5 @@ describe('Groups', function () {
|
||||
await groups.setMembers(group0Object.id, [ admin.id, user.id ]); // ensure group has some members
|
||||
await groups.remove(group0Object.id);
|
||||
});
|
||||
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user