diff --git a/src/routes/test/cloudron-test.js b/src/routes/test/cloudron-test.js index ef50fce1e..ae22c97e4 100644 --- a/src/routes/test/cloudron-test.js +++ b/src/routes/test/cloudron-test.js @@ -233,7 +233,9 @@ describe('Cloudron', function () { }); it('succeeds', function (done) { - var scope = nock(config.apiServerOrigin()).get('/api/v1/boxes/localhost?token=' + config.token()).reply(200, { box: { region: 'sfo', size: '1gb' }}); + var scope = nock(config.apiServerOrigin()) + .get('/api/v1/boxes/localhost?token=' + config.token()) + .reply(200, { box: { region: 'sfo', size: '1gb' }, user: { }}); superagent.get(SERVER_URL + '/api/v1/cloudron/config') .query({ access_token: token })