From cd8d6a06585df419b0e666a2d2086d852f57baf1 Mon Sep 17 00:00:00 2001 From: Julien Gilli Date: Wed, 22 Mar 2017 18:19:32 -0700 Subject: [PATCH] fix tests after adding support for delete volume confirmation --- test/integration/cli-volumes.test.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/integration/cli-volumes.test.js b/test/integration/cli-volumes.test.js index cf60da1..e42ae3a 100644 --- a/test/integration/cli-volumes.test.js +++ b/test/integration/cli-volumes.test.js @@ -35,7 +35,7 @@ test('triton volume create ...', testOpts, function (tt) { }); tt.test(' cleanup leftover resources', function (t) { - h.triton(['volume', 'delete', '-w', validVolumeName].join(' '), + h.triton(['volume', 'delete', '-y', '-w', validVolumeName].join(' '), function onDelVolume(delVolErr, stdout, stderr) { t.end(); }); @@ -149,7 +149,7 @@ test('triton volume create ...', testOpts, function (tt) { }); tt.test(' delete volume', function (t) { - h.triton(['volume', 'delete', '-w', validVolumeName].join(' '), + h.triton(['volume', 'delete', '-y', '-w', validVolumeName].join(' '), function onDelVolume(delVolErr, stdout, stderr) { t.equal(delVolErr, null, 'Deleting volume should not error');