mailboxdb: merge into mail.js
This commit is contained in:
@@ -496,11 +496,8 @@ describe('Mail API', function () {
|
||||
describe('aliases', function () {
|
||||
const MAILBOX_NAME = 'support';
|
||||
|
||||
after(function (done) {
|
||||
mail._removeMailboxes(dashboardDomain, function (error) {
|
||||
if (error) return done(error);
|
||||
done();
|
||||
});
|
||||
after(async function () {
|
||||
await mail._delByDomain(dashboardDomain);
|
||||
});
|
||||
|
||||
it('add the mailbox', async function () {
|
||||
@@ -565,12 +562,8 @@ describe('Mail API', function () {
|
||||
describe('mailinglists', function () {
|
||||
const LIST_NAME = 'people';
|
||||
|
||||
after(function (done) {
|
||||
mail._removeMailboxes(dashboardDomain, function (error) {
|
||||
if (error) return done(error);
|
||||
|
||||
done();
|
||||
});
|
||||
after(async function () {
|
||||
await mail._delByDomain(dashboardDomain);
|
||||
});
|
||||
|
||||
it('add fails without groupId', async function () {
|
||||
|
||||
Reference in New Issue
Block a user