Get token first, then enable email
This commit is contained in:
parent
14d29bdf65
commit
d14342bfea
@ -65,6 +65,11 @@ describe('Cloudron update testing', function () {
|
||||
cloudron.activate(owner);
|
||||
});
|
||||
|
||||
it('can login to the box', function () {
|
||||
var token = cloudron.getOauthToken(owner);
|
||||
cloudron.setCredentials(owner.password, token);
|
||||
});
|
||||
|
||||
it('can enable email', function () {
|
||||
cloudron.setEmailEnabled(true);
|
||||
});
|
||||
@ -73,11 +78,6 @@ describe('Cloudron update testing', function () {
|
||||
cloudron.saveSieveScript(owner, done);
|
||||
});
|
||||
|
||||
it('can login to the box', function () {
|
||||
var token = cloudron.getOauthToken(owner);
|
||||
cloudron.setCredentials(owner.password, token);
|
||||
});
|
||||
|
||||
var location = 'test' + (Math.random() * 10000).toFixed();
|
||||
it('can install app', function () {
|
||||
var manifest = appStore.getManifest(common.TESTAPP_ID, common.PREV_TESTAPP_VERSION);
|
||||
|
Loading…
Reference in New Issue
Block a user