disable 0.15.0 hacks now that it is released

This commit is contained in:
Girish Ramakrishnan 2016-06-08 13:10:58 -07:00
parent 6e4c1b1237
commit 48384f3e67
3 changed files with 3 additions and 5 deletions

View File

@ -171,7 +171,7 @@ Cloudron.prototype.installApp = function (location, manifestOrAppstoreId, portBi
var data = {
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,
accessRestriction: null,
oauthProxy: false,

View File

@ -94,8 +94,7 @@ describe('Cloudron update testing', function () {
cloudron.update(toVersion);
});
// in 0.15.0 we changed the token identifier prefix
it('can login to the box', function () {
xit('can login to the box', function () {
var token = cloudron.getOauthToken(owner);
cloudron.setCredentials(owner.password, token);
});

View File

@ -92,8 +92,7 @@ describe('Cloudron update testing', function () {
cloudron.update(toVersion);
});
// in 0.15.0 we changed the token identifier prefix
it('can login to the box', function () {
xit('can login to the box', function () {
var token = cloudron.getOauthToken(owner);
cloudron.setCredentials(owner.password, token);
});