Skip to content

Commit 8f0ce46

Browse files
committed
Fix UT failure in UserVmManagerImplTest
1 parent 2588ee4 commit 8f0ce46

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

server/src/test/java/com/cloud/vm/UserVmManagerImplTest.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3595,7 +3595,6 @@ public void testRestoreVMFromBackup() throws ResourceUnavailableException, Insuf
35953595
doReturn(vmPair).when(userVmManagerImpl).startVirtualMachine(anyLong(), isNull(), isNull(), anyLong(), anyMap(), isNull());
35963596
when(userVmDao.findById(vmId)).thenReturn(vm);
35973597
when(templateDao.findByIdIncludingRemoved(templateId)).thenReturn(mock(VMTemplateVO.class));
3598-
when(userVmManagerImpl.stopVirtualMachine(anyLong(), anyLong())).thenReturn(true);
35993598

36003599
UserVm result = userVmManagerImpl.restoreVMFromBackup(cmd);
36013600

0 commit comments

Comments
 (0)