fix tests after adding support for delete volume confirmation

This commit is contained in:
Julien Gilli 2017-03-22 18:19:32 -07:00
parent 984c692d2f
commit cd8d6a0658
1 changed files with 2 additions and 2 deletions

View File

@ -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');