improve mailbox.update

This commit is contained in:
Girish Ramakrishnan
2022-08-18 11:56:01 +02:00
parent b23189b45c
commit 6124323d52
2 changed files with 17 additions and 13 deletions

View File

@@ -71,7 +71,7 @@ describe('Ldap', function () {
before(function (done) {
async.series([
setup,
async () => await mail.addMailbox(mailboxName, domain.domain, { ownerId: user.id, ownerType: mail.OWNERTYPE_USER, active: true }, auditSource),
async () => await mail.addMailbox(mailboxName, domain.domain, { ownerId: user.id, ownerType: mail.OWNERTYPE_USER, active: true, storageQuota: 0, messagesQuota: 0 }, auditSource),
async () => await mail.setAliases(mailboxName, domain.domain, [ { name: mailAliasName, domain: domain.domain} ], auditSource),
ldapServer.start.bind(null),
async () => {