make ldap tests pass

This commit is contained in:
Girish Ramakrishnan
2021-08-13 15:49:59 -07:00
parent beb1ab7c5b
commit 74febcd30a
4 changed files with 186 additions and 269 deletions

View File

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