@@ -169,7 +169,7 @@ describe('Unit: Commands > Update', function () {
169
169
const removeOldVersionsStub = sinon . stub ( cmdInstance , 'removeOldVersions' ) ;
170
170
const runCommandStub = sinon . stub ( cmdInstance , 'runCommand' ) . resolves ( ) ;
171
171
172
- return cmdInstance . run ( { version : '1.1.0' , rollback : false , force : false } ) . then ( ( ) => {
172
+ return cmdInstance . run ( { version : '1.1.0' , rollback : false , force : false , restart : true } ) . then ( ( ) => {
173
173
cwdStub . restore ( ) ;
174
174
175
175
expect ( runCommandStub . calledOnce ) . to . be . true ;
@@ -225,7 +225,7 @@ describe('Unit: Commands > Update', function () {
225
225
const removeOldVersionsStub = sinon . stub ( cmdInstance , 'removeOldVersions' ) ;
226
226
const runCommandStub = sinon . stub ( cmdInstance , 'runCommand' ) . resolves ( ) ;
227
227
228
- return cmdInstance . run ( { rollback : true , force : false , zip : '' } ) . then ( ( ) => {
228
+ return cmdInstance . run ( { rollback : true , force : false , zip : '' , restart : true } ) . then ( ( ) => {
229
229
cwdStub . restore ( ) ;
230
230
231
231
const expectedCtx = {
@@ -290,7 +290,7 @@ describe('Unit: Commands > Update', function () {
290
290
const runCommandStub = sinon . stub ( cmdInstance , 'runCommand' ) . resolves ( ) ;
291
291
292
292
293
- return cmdInstance . run ( { rollback : true , force : false , zip : '' } ) . then ( ( ) => {
293
+ return cmdInstance . run ( { rollback : true , force : false , zip : '' , restart : true } ) . then ( ( ) => {
294
294
cwdStub . restore ( ) ;
295
295
const expectedCtx = {
296
296
version : '1.0.0' ,
0 commit comments