set alias early
This commit is contained in:
parent
db3e9ccbc3
commit
b10f19f2ca
@ -66,6 +66,11 @@ describe('Cloudron backup testing', function () {
|
||||
cloudron.setCredentials(owner.password, token);
|
||||
});
|
||||
|
||||
// mail alias tests (do this here because alias takes sometime to propagate)
|
||||
it('can set aliases', function () {
|
||||
cloudron.setAliases(owner, ['admin', 'mail']);
|
||||
});
|
||||
|
||||
// mail tests as normal user
|
||||
it('can send mail to cloudron user', function (done) {
|
||||
mailer.sendMailToCloudronUser(owner.username + '@' + cloudron.fqdn(), done);
|
||||
@ -91,11 +96,6 @@ describe('Cloudron backup testing', function () {
|
||||
cloudron.saveSieveScript(owner, done);
|
||||
});
|
||||
|
||||
// mail alias tests
|
||||
it('can set aliases', function () {
|
||||
cloudron.setAliases(owner, ['admin', 'mail']);
|
||||
});
|
||||
|
||||
it('can send email to alias', function (done) {
|
||||
mailer.sendMailToCloudronUser('admin@' + box.domain, done);
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user