Use release file from ecosystem

This commit is contained in:
Johannes Zellner 2016-09-13 09:59:13 +02:00
parent 24a23f7873
commit 9c58b903e6
2 changed files with 2 additions and 2 deletions

View File

@ -61,7 +61,7 @@ describe('Selfhost DigitalOcean Cloudron creation', function () {
var fromVersion, toVersion, nextVersion;
it('can query versions', function () {
var res = request.get('https://s3.amazonaws.com/staging-cloudron-releases/versions.json').end();
var res = request.get(process.env.BOX_VERSIONS_URL).end();
common.verifyResponse2xx(res);
var boxVersions = Object.keys(common.stripUnreachable(res.body)).sort(semver.rcompare);
fromVersion = boxVersions[2]; // we released a new version in before.js

View File

@ -62,7 +62,7 @@ describe('Selfhost EC2 Cloudron creation', function () {
var fromVersion, toVersion, nextVersion;
it('can query versions', function () {
var res = request.get('https://s3.amazonaws.com/staging-cloudron-releases/versions.json').end();
var res = request.get(process.env.BOX_VERSIONS_URL).end();
common.verifyResponse2xx(res);
var boxVersions = Object.keys(common.stripUnreachable(res.body)).sort(semver.rcompare);
fromVersion = boxVersions[2]; // we released a new version in before.js