From 41a726e8a71863700bc59f383778b66c86889c8c Mon Sep 17 00:00:00 2001 From: Girish Ramakrishnan Date: Thu, 27 Aug 2015 11:17:36 -0700 Subject: [PATCH] Fix backup test --- src/routes/test/backups-test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/routes/test/backups-test.js b/src/routes/test/backups-test.js index efd9ee2c2..7b6f28e40 100644 --- a/src/routes/test/backups-test.js +++ b/src/routes/test/backups-test.js @@ -119,7 +119,7 @@ describe('Backups API', function () { it('succeeds', function (done) { var scope = nock(config.apiServerOrigin()) - .put('/api/v1/boxes/' + config.fqdn() + '/backupurl?token=APPSTORE_TOKEN', { boxVersion: '0.5.0', appId: null, appVersion: null, appBackupIds: [] }) + .get('/api/v1/boxes/' + config.fqdn() + '/awscredentials?token=APPSTORE_TOKEN') .reply(201, { id: 'someid', url: 'http://foobar', backupKey: 'somerestorekey' }); request.post(SERVER_URL + '/api/v1/backups')