the cloudron test-app requires email for the addon_check

This commit is contained in:
Girish Ramakrishnan 2016-09-01 23:08:38 -07:00
parent 8146074ead
commit 68fb024d85
4 changed files with 16 additions and 0 deletions

View File

@ -54,6 +54,10 @@ describe('Alt domain test', function () {
cloudron.setCredentials(owner.password, token); cloudron.setCredentials(owner.password, token);
}); });
it('can enable email', function () {
cloudron.setEmailEnabled(true);
});
var location = 'test' + (Math.random() * 10000).toFixed(); var location = 'test' + (Math.random() * 10000).toFixed();
it('can install app', function () { it('can install app', function () {
var manifest = appStore.getManifest(common.TESTAPP_ID, common.TESTAPP_VERSION); var manifest = appStore.getManifest(common.TESTAPP_ID, common.TESTAPP_VERSION);

View File

@ -53,6 +53,10 @@ describe('Application flow test', function () {
cloudron.setCredentials(owner.password, token); cloudron.setCredentials(owner.password, token);
}); });
it('can enable email', function () {
cloudron.setEmailEnabled(true);
});
var location = 'test' + (Math.random() * 10000).toFixed(); var location = 'test' + (Math.random() * 10000).toFixed();
it('can install app', function () { it('can install app', function () {
var manifest = appStore.getManifest(common.TESTAPP_ID, common.TESTAPP_VERSION); var manifest = appStore.getManifest(common.TESTAPP_ID, common.TESTAPP_VERSION);

View File

@ -54,6 +54,10 @@ describe('Application update test', function () {
cloudron.setCredentials(owner.password, token); cloudron.setCredentials(owner.password, token);
}); });
it('can enable email', function () {
cloudron.setEmailEnabled(true);
});
var location = 'test' + (Math.random() * 10000).toFixed(); var location = 'test' + (Math.random() * 10000).toFixed();
it('can install app', function () { it('can install app', function () {
appId = cloudron.installApp(location, APP_ID + '@' + APP_OLD_VERSION); appId = cloudron.installApp(location, APP_ID + '@' + APP_OLD_VERSION);

View File

@ -65,6 +65,10 @@ describe('Cloudron update testing', function () {
cloudron.activate(owner); cloudron.activate(owner);
}); });
it('can enable email', function () {
cloudron.setEmailEnabled(true);
});
it('can save a sieve script', function (done) { it('can save a sieve script', function (done) {
cloudron.saveSieveScript(owner, done); cloudron.saveSieveScript(owner, done);
}); });