fix subject
This commit is contained in:
parent
ff33d737fc
commit
baa1dd5963
@ -76,13 +76,13 @@ describe('Cloudron backup testing', function () {
|
||||
});
|
||||
|
||||
it('can send mail from cloudron user', function (done) {
|
||||
cloudron.sendMail(owner, 'test+fromcloudron@cloudron.io', done);
|
||||
cloudron.sendMail(owner, 'test+' + cloudron.fqdn() + '@cloudron.io', done);
|
||||
});
|
||||
|
||||
it('did send mail from cloudron user', function (done) {
|
||||
imap.probe({
|
||||
subject: new RegExp('^Hi from e2e test$'),
|
||||
to: /test+fromcloudron@cloudron.io/,
|
||||
subject: new RegExp('^Hi from e2e test - ' + cloudron.fqdn() + '$'),
|
||||
to: new RegExp('test+' + cloudron.fqdn() + '@cloudron.io'),
|
||||
body: /This release depends on you/
|
||||
}, done);
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user