diff --git a/test/app-flow-test.js b/test/app-flow-test.js index d3a8662..35381a2 100644 --- a/test/app-flow-test.js +++ b/test/app-flow-test.js @@ -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); diff --git a/test/cloudron-backup-test.js b/test/cloudron-backup-test.js index 80325ea..1796faf 100644 --- a/test/cloudron-backup-test.js +++ b/test/cloudron-backup-test.js @@ -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); diff --git a/test/cloudron-update-test.js b/test/cloudron-update-test.js index c65c9ef..30a7e65 100644 --- a/test/cloudron-update-test.js +++ b/test/cloudron-update-test.js @@ -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); diff --git a/test/cloudron-user-test.js b/test/cloudron-user-test.js index b1c65a6..9b603fb 100644 --- a/test/cloudron-user-test.js +++ b/test/cloudron-user-test.js @@ -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'); });