login after migration
This commit is contained in:
parent
2e776d5e88
commit
1cda5d7377
@ -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);
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user