Use the correct set*Credentials()
This commit is contained in:
parent
3ff8de052c
commit
42f4dbe7e1
@ -55,7 +55,7 @@ describe('Cloudron update testing', function () {
|
|||||||
appStore.setCredentials(owner.password, accessToken);
|
appStore.setCredentials(owner.password, accessToken);
|
||||||
|
|
||||||
var adminAccessToken = appStore.getAccessToken(admin);
|
var adminAccessToken = appStore.getAccessToken(admin);
|
||||||
appStore.setCredentials(admin.password, adminAccessToken);
|
appStore.setAdminCredentials(admin.password, adminAccessToken);
|
||||||
});
|
});
|
||||||
|
|
||||||
it('can create a cloudron', function () {
|
it('can create a cloudron', function () {
|
||||||
|
@ -31,7 +31,7 @@ describe('Cloudron user creation testing', function () {
|
|||||||
appStore.setCredentials(owner.password, accessToken);
|
appStore.setCredentials(owner.password, accessToken);
|
||||||
|
|
||||||
var adminAccessToken = appStore.getAccessToken(admin);
|
var adminAccessToken = appStore.getAccessToken(admin);
|
||||||
appStore.setCredentials(admin.password, adminAccessToken);
|
appStore.setAdminCredentials(admin.password, adminAccessToken);
|
||||||
});
|
});
|
||||||
|
|
||||||
it('can create a cloudron', function () {
|
it('can create a cloudron', function () {
|
||||||
|
Loading…
Reference in New Issue
Block a user