relogin for 0.15.0

This commit is contained in:
Girish Ramakrishnan 2016-06-07 10:08:35 -07:00
parent 920eed30f7
commit 4291c8db5c
2 changed files with 12 additions and 0 deletions

View File

@ -92,6 +92,12 @@ describe('Cloudron update testing', function () {
cloudron.update(toVersion);
});
// in 0.15.0 we changed the token identifier prefix
it('can login to the box', function () {
var token = cloudron.getOauthToken(owner);
cloudron.setCredentials(owner.password, token);
});
it('runs the app', function () {
cloudron.waitForApp(appId);
});

View File

@ -93,6 +93,12 @@ describe('Cloudron update testing', function () {
cloudron.update(toVersion);
});
// in 0.15.0 we changed the token identifier prefix
it('can login to the box', function () {
var token = cloudron.getOauthToken(owner);
cloudron.setCredentials(owner.password, token);
});
it('runs the app', function () {
cloudron.waitForApp(appId);
});