set dns config in all tests

This commit is contained in:
Girish Ramakrishnan 2015-11-03 20:43:02 -08:00
parent ef3600e04f
commit f4bb3cb968
4 changed files with 16 additions and 0 deletions

View File

@ -59,6 +59,10 @@ describe('Application flow test', function () {
cloudron.setCredentials(owner.password, token);
});
it('can set dns config', function () {
cloudron.setDnsConfig({ provider: 'caas' });
});
var location = 'test' + (Math.random() * 10000).toFixed();
it('can install app', function () {
var manifest = appStore.getManifest(common.TESTAPP_ID, common.TESTAPP_VERSION);

View File

@ -61,6 +61,10 @@ describe('Cloudron backup testing', function () {
cloudron.setCredentials(owner.password, token);
});
it('can set dns config', function () {
cloudron.setDnsConfig({ provider: 'caas' });
});
var location = 'test' + (Math.random() * 10000).toFixed();
it('can install app', function () {
var manifest = appStore.getManifest(common.TESTAPP_ID, common.TESTAPP_VERSION);

View File

@ -75,6 +75,10 @@ describe('Cloudron update testing', function () {
cloudron.setCredentials(owner.password, token);
});
it('can set dns config', function () {
cloudron.setDnsConfig({ provider: 'caas' });
});
var location = 'test' + (Math.random() * 10000).toFixed();
it('can install app', function () {
var manifest = appStore.getManifest(common.TESTAPP_ID, common.PREV_TESTAPP_VERSION);

View File

@ -59,6 +59,10 @@ describe('Cloudron user creation testing', function () {
cloudron.setCredentials(owner.password, token);
});
it('can set dns config', function () {
cloudron.setDnsConfig({ provider: 'caas' });
});
it('can create user', function () {
newUser = cloudron.addUser('newuser', 'girish@forwardbias.in');
});