Fix tests
This commit is contained in:
@@ -344,7 +344,7 @@ describe('Ldap', function () {
|
||||
});
|
||||
});
|
||||
|
||||
describe('user mailbox bind', function () {
|
||||
describe('sogo mailbox bind', function () {
|
||||
it('email disabled - cannot auth', async function () {
|
||||
const [error] = await safe(ldapBind(`cn=${mailbox},domain=example.com,ou=mailboxes,dc=cloudron`, 'badpassword'));
|
||||
expect(error).to.be.a(ldap.NoSuchObjectError);
|
||||
|
||||
Reference in New Issue
Block a user