diff --git a/src/test/storage-test.js b/src/test/storage-test.js index d7f5925f3..67ef21b2a 100644 --- a/src/test/storage-test.js +++ b/src/test/storage-test.js @@ -160,11 +160,8 @@ describe('Storage', function () { format: 'tgz' }; - it('upload works', function (done) { - noop.upload(gBackupConfig, 'file', { }, function (error) { - expect(error).to.be(null); - done(); - }); + it('upload works', async function () { + await noop.upload(gBackupConfig, 'file', {}); }); it('can download file', async function () {