diff --git a/test/cloudron-migrate-test.js b/test/cloudron-migrate-test.js index c02c24d..5377ed1 100644 --- a/test/cloudron-migrate-test.js +++ b/test/cloudron-migrate-test.js @@ -83,6 +83,11 @@ describe('Custom domain test', function () { cloudron = new Cloudron(box); }); + it('can login to the box', function () { + var token = cloudron.getOauthToken(owner); + cloudron.setCredentials(owner.password, token); + }); + it('send mail to cloudron user', function (done) { mailer.sendMailToCloudronUser(owner.username + '@' + CUSTOM_DOMAIN, done); }); @@ -144,6 +149,11 @@ describe('Custom domain test', function () { cloudron = new Cloudron(box); }); + it('can login to the box', function () { + var token = cloudron.getOauthToken(owner); + cloudron.setCredentials(owner.password, token); + }); + it('can check the addons', function () { cloudron.checkAddons(cloudron.appFqdn(location), owner); });