login after migration

This commit is contained in:
Girish Ramakrishnan 2016-07-08 15:54:21 -07:00
parent 2e776d5e88
commit 1cda5d7377

View File

@ -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);
});