Check mail in the right spot

This commit is contained in:
Johannes Zellner 2016-07-01 19:26:19 +02:00
parent 2e6eb0941c
commit 88dc83c237

View File

@ -106,6 +106,10 @@ describe('Selfhost EC2 Cloudron creation', function () {
mailer.sendMailToCloudronUser(owner.username + '@' + SELFHOST_DOMAIN, done);
});
it('did receive mail', function (done) {
cloudron.checkMail(owner, done);
});
var location = 'test' + (Math.random() * 10000).toFixed();
it('can install app', function () {
var manifest = appStore.getManifest(common.TESTAPP_ID, common.TESTAPP_VERSION);
@ -215,10 +219,6 @@ describe('Selfhost EC2 Cloudron creation', function () {
cloudron.uninstallApp(appId);
});
it('can check mail', function (done) {
cloudron.checkMail(owner, done);
});
after(function (done) {
console.log('Cleanup EC2 instances');