From 3ff8de052c1abacf7fe37a8d7370206132a48442 Mon Sep 17 00:00:00 2001 From: Girish Ramakrishnan Date: Fri, 18 Dec 2015 08:31:22 -0800 Subject: [PATCH] fix typo --- test/000-cleanup.js | 2 +- test/app-flow-test.js | 2 +- test/cloudron-backup-test.js | 2 +- test/custom-domain-test.js | 2 +- test/new-user-test.js | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/test/000-cleanup.js b/test/000-cleanup.js index 776e4b5..2e9434c 100644 --- a/test/000-cleanup.js +++ b/test/000-cleanup.js @@ -27,7 +27,7 @@ describe('Cleanup old cloudrons', function () { appStore.setCredentials(owner.password, accessToken); var adminAccessToken = appStore.getAccessToken(admin); - appStore.setCredentials(admin.password, adminAccessToken); + appStore.setAdminCredentials(admin.password, adminAccessToken); }); it('can list cloudrons', function () { diff --git a/test/app-flow-test.js b/test/app-flow-test.js index fc03de8..8862736 100644 --- a/test/app-flow-test.js +++ b/test/app-flow-test.js @@ -32,7 +32,7 @@ describe('Application flow test', function () { appStore.setCredentials(owner.password, accessToken); var adminAccessToken = appStore.getAccessToken(admin); - appStore.setCredentials(admin.password, adminAccessToken); + appStore.setAdminCredentials(admin.password, adminAccessToken); }); it('can create a cloudron', function () { diff --git a/test/cloudron-backup-test.js b/test/cloudron-backup-test.js index 14efc16..607c005 100644 --- a/test/cloudron-backup-test.js +++ b/test/cloudron-backup-test.js @@ -34,7 +34,7 @@ describe('Cloudron backup testing', function () { appStore.setCredentials(owner.password, accessToken); var adminAccessToken = appStore.getAccessToken(admin); - appStore.setCredentials(admin.password, adminAccessToken); + appStore.setAdminCredentials(admin.password, adminAccessToken); }); it('can create a cloudron', function () { diff --git a/test/custom-domain-test.js b/test/custom-domain-test.js index d4652e2..ce864bb 100644 --- a/test/custom-domain-test.js +++ b/test/custom-domain-test.js @@ -38,7 +38,7 @@ describe('Custom domain test', function () { appStore.setCredentials(owner.password, accessToken); var adminAccessToken = appStore.getAccessToken(admin); - appStore.setCredentials(admin.password, adminAccessToken); + appStore.setAdminCredentials(admin.password, adminAccessToken); }); it('can get profile', function () { diff --git a/test/new-user-test.js b/test/new-user-test.js index 3174eba..2c230af 100644 --- a/test/new-user-test.js +++ b/test/new-user-test.js @@ -33,7 +33,7 @@ describe('Appstore new user flow', function () { appStore.setCredentials(owner.password, accessToken); var adminAccessToken = appStore.getAccessToken(admin); - appStore.setCredentials(admin.password, adminAccessToken); + appStore.setAdminCredentials(admin.password, adminAccessToken); }); it('can get profile', function () {