From 48384f3e676970cb1c7eebfd40e31a6ea6e1957e Mon Sep 17 00:00:00 2001 From: Girish Ramakrishnan Date: Wed, 8 Jun 2016 13:10:58 -0700 Subject: [PATCH] disable 0.15.0 hacks now that it is released --- cloudron.js | 2 +- test/cloudron-autoupdate-sfo1-test.js | 3 +-- test/cloudron-update-ams3-test.js | 3 +-- 3 files changed, 3 insertions(+), 5 deletions(-) diff --git a/cloudron.js b/cloudron.js index 216a7cf..6065a55 100644 --- a/cloudron.js +++ b/cloudron.js @@ -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, diff --git a/test/cloudron-autoupdate-sfo1-test.js b/test/cloudron-autoupdate-sfo1-test.js index f9553ca..99e804e 100644 --- a/test/cloudron-autoupdate-sfo1-test.js +++ b/test/cloudron-autoupdate-sfo1-test.js @@ -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); }); diff --git a/test/cloudron-update-ams3-test.js b/test/cloudron-update-ams3-test.js index 3f14d05..831b61f 100644 --- a/test/cloudron-update-ams3-test.js +++ b/test/cloudron-update-ams3-test.js @@ -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); });