Skip to content

Commit 3dac829

Browse files
committed
fix test
1 parent 60e5ffc commit 3dac829

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

server/src/test/java/com/cloud/hypervisor/KVMGuruTest.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,6 @@ public void testSetVmQuotaPercentage() {
143143
@Test
144144
public void testSetVmQuotaPercentageNullHost() {
145145
Mockito.when(hostDao.findById(hostId)).thenReturn(null);
146-
Mockito.when(vm.getLastHostId()).thenReturn(null);
147146
guru.setVmQuotaPercentage(vmTO, vmProfile);
148147
Mockito.verify(vmTO, Mockito.never()).setCpuQuotaPercentage(Mockito.anyDouble());
149148
}

0 commit comments

Comments
 (0)