ut failure in UserVmManagerImplTest

This commit is contained in:
Abhisar Sinha 2026-02-08 16:37:51 +05:30 committed by Abhishek Kumar
parent 6ca1c9b31f
commit fba7c634cb
1 changed files with 0 additions and 2 deletions

View File

@ -846,9 +846,7 @@ public class UserVmManagerImplTest {
private void prepareAndRunConfigureCustomRootDiskSizeTest(Map<String, String> customParameters, long expectedRootDiskSize, int timesVerifyIfHypervisorSupports, Long offeringRootDiskSize) {
VMTemplateVO template = Mockito.mock(VMTemplateVO.class);
Mockito.when(template.getId()).thenReturn(1l);
Mockito.when(template.getSize()).thenReturn(99L * GiB_TO_BYTES);
Mockito.when(templateDao.findById(Mockito.anyLong())).thenReturn(template);
DiskOfferingVO diskfferingVo = Mockito.mock(DiskOfferingVO.class);