mirror of
https://github.com/apache/cloudstack.git
synced 2025-12-15 18:12:35 +01:00
fix test
This commit is contained in:
parent
60e5ffc3ac
commit
3dac8291be
@ -143,7 +143,6 @@ public class KVMGuruTest {
|
||||
@Test
|
||||
public void testSetVmQuotaPercentageNullHost() {
|
||||
Mockito.when(hostDao.findById(hostId)).thenReturn(null);
|
||||
Mockito.when(vm.getLastHostId()).thenReturn(null);
|
||||
guru.setVmQuotaPercentage(vmTO, vmProfile);
|
||||
Mockito.verify(vmTO, Mockito.never()).setCpuQuotaPercentage(Mockito.anyDouble());
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user