disable 0.15.0 hacks now that it is released
This commit is contained in:
parent
6e4c1b1237
commit
48384f3e67
|
@ -171,7 +171,7 @@ Cloudron.prototype.installApp = function (location, manifestOrAppstoreId, portBi
|
||||||
|
|
||||||
var data = {
|
var data = {
|
||||||
manifest: typeof manifestOrAppstoreId === 'object' ? manifestOrAppstoreId : null,
|
manifest: typeof manifestOrAppstoreId === 'object' ? manifestOrAppstoreId : null,
|
||||||
appStoreId: typeof manifestOrAppstoreId === 'string' ? manifestOrAppstoreId : manifestOrAppstoreId.id, // for pre-0.15.0
|
appStoreId: typeof manifestOrAppstoreId === 'string' ? manifestOrAppstoreId : '',
|
||||||
location: location,
|
location: location,
|
||||||
accessRestriction: null,
|
accessRestriction: null,
|
||||||
oauthProxy: false,
|
oauthProxy: false,
|
||||||
|
|
|
@ -94,8 +94,7 @@ describe('Cloudron update testing', function () {
|
||||||
cloudron.update(toVersion);
|
cloudron.update(toVersion);
|
||||||
});
|
});
|
||||||
|
|
||||||
// in 0.15.0 we changed the token identifier prefix
|
xit('can login to the box', function () {
|
||||||
it('can login to the box', function () {
|
|
||||||
var token = cloudron.getOauthToken(owner);
|
var token = cloudron.getOauthToken(owner);
|
||||||
cloudron.setCredentials(owner.password, token);
|
cloudron.setCredentials(owner.password, token);
|
||||||
});
|
});
|
||||||
|
|
|
@ -92,8 +92,7 @@ describe('Cloudron update testing', function () {
|
||||||
cloudron.update(toVersion);
|
cloudron.update(toVersion);
|
||||||
});
|
});
|
||||||
|
|
||||||
// in 0.15.0 we changed the token identifier prefix
|
xit('can login to the box', function () {
|
||||||
it('can login to the box', function () {
|
|
||||||
var token = cloudron.getOauthToken(owner);
|
var token = cloudron.getOauthToken(owner);
|
||||||
cloudron.setCredentials(owner.password, token);
|
cloudron.setCredentials(owner.password, token);
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue