make it clear it is exported for testing
This commit is contained in:
@@ -33,7 +33,6 @@ exports = module.exports = {
|
||||
|
||||
getMailboxCount,
|
||||
listMailboxes,
|
||||
removeMailboxes,
|
||||
getMailbox,
|
||||
addMailbox,
|
||||
updateMailboxOwner,
|
||||
@@ -49,6 +48,7 @@ exports = module.exports = {
|
||||
removeList,
|
||||
resolveList,
|
||||
|
||||
_removeMailboxes: removeMailboxes,
|
||||
_readDkimPublicKeySync: readDkimPublicKeySync
|
||||
};
|
||||
|
||||
|
||||
@@ -649,7 +649,7 @@ describe('Mail API', function () {
|
||||
|
||||
describe('aliases', function () {
|
||||
after(function (done) {
|
||||
mail.removeMailboxes(DOMAIN_0.domain, function (error) {
|
||||
mail._removeMailboxes(DOMAIN_0.domain, function (error) {
|
||||
if (error) return done(error);
|
||||
done();
|
||||
});
|
||||
@@ -726,7 +726,7 @@ describe('Mail API', function () {
|
||||
|
||||
describe('mailinglists', function () {
|
||||
after(function (done) {
|
||||
mail.removeMailboxes(DOMAIN_0.domain, function (error) {
|
||||
mail._removeMailboxes(DOMAIN_0.domain, function (error) {
|
||||
if (error) return done(error);
|
||||
|
||||
done();
|
||||
|
||||
Reference in New Issue
Block a user