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

View File

@ -35,7 +35,7 @@ test('triton volume create ...', testOpts, function (tt) {
}); });
tt.test(' cleanup leftover resources', function (t) { 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) { function onDelVolume(delVolErr, stdout, stderr) {
t.end(); t.end();
}); });
@ -149,7 +149,7 @@ test('triton volume create ...', testOpts, function (tt) {
}); });
tt.test(' delete volume', function (t) { 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) { function onDelVolume(delVolErr, stdout, stderr) {
t.equal(delVolErr, null, t.equal(delVolErr, null,
'Deleting volume should not error'); 'Deleting volume should not error');