mirror of https://github.com/apache/cloudstack.git
fix test failures
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
This commit is contained in:
parent
d2632412b8
commit
48119d7b9b
|
|
@ -872,6 +872,7 @@ public class ConfigurationManagerImplTest {
|
|||
Mockito.when(cmd.getAccountId()).thenReturn(null);
|
||||
Mockito.when(cmd.getDomainId()).thenReturn(null);
|
||||
Mockito.when(cmd.getImageStoreId()).thenReturn(null);
|
||||
Mockito.when(cmd.getManagementServerId()).thenReturn(null);
|
||||
|
||||
ConfigurationVO cfg = new ConfigurationVO("Advanced", "DEFAULT", "test", "pool.storage.capacity.disablethreshold", null, "description");
|
||||
cfg.setScope(10);
|
||||
|
|
|
|||
|
|
@ -766,6 +766,7 @@ public class ManagementServerImplTest {
|
|||
Mockito.when(cmd.getAccountId()).thenReturn(null);
|
||||
Mockito.when(cmd.getDomainId()).thenReturn(null);
|
||||
Mockito.when(cmd.getImageStoreId()).thenReturn(null);
|
||||
Mockito.when(cmd.getManagementServerId()).thenReturn(null);
|
||||
|
||||
SearchCriteria<ConfigurationVO> sc = Mockito.mock(SearchCriteria.class);
|
||||
Mockito.when(configDao.createSearchCriteria()).thenReturn(sc);
|
||||
|
|
|
|||
Loading…
Reference in New Issue