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) {
|
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) {
|
it('did send mail from cloudron user', function (done) {
|
||||||
imap.probe({
|
imap.probe({
|
||||||
subject: new RegExp('^Hi from e2e test$'),
|
subject: new RegExp('^Hi from e2e test - ' + cloudron.fqdn() + '$'),
|
||||||
to: /test+fromcloudron@cloudron.io/,
|
to: new RegExp('test+' + cloudron.fqdn() + '@cloudron.io'),
|
||||||
body: /This release depends on you/
|
body: /This release depends on you/
|
||||||
}, done);
|
}, done);
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue