Do not check if email is enabled when an app tries to do sendmail auth through ldap

This commit is contained in:
Johannes Zellner
2018-01-29 19:29:04 +01:00
parent edb02c859b
commit 6470803604
2 changed files with 3 additions and 3 deletions

View File

@@ -901,7 +901,7 @@ describe('Ldap', function () {
describe('app sendmail bind', function () {
// these tests should work even when email is disabled
before(function (done) {
maildb.update(DOMAIN_0.domain, { enabled: true }, done);
maildb.update(DOMAIN_0.domain, { enabled: false }, done);
});
it('does not allow with invalid app', function (done) {