From 1cda5d7377de567b51a40d4c37d6daffac669b03 Mon Sep 17 00:00:00 2001 From: Girish Ramakrishnan Date: Fri, 8 Jul 2016 15:54:21 -0700 Subject: [PATCH] login after migration --- test/cloudron-migrate-test.js | 10 ++++++++++ 1 file changed, 10 insertions(+) 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); });