Skip to content

Commit 48119d7

Browse files
committed
fix test failures
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
1 parent d263241 commit 48119d7

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

server/src/test/java/com/cloud/configuration/ConfigurationManagerImplTest.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -872,6 +872,7 @@ public void testResetConfigurations() {
872872
Mockito.when(cmd.getAccountId()).thenReturn(null);
873873
Mockito.when(cmd.getDomainId()).thenReturn(null);
874874
Mockito.when(cmd.getImageStoreId()).thenReturn(null);
875+
Mockito.when(cmd.getManagementServerId()).thenReturn(null);
875876

876877
ConfigurationVO cfg = new ConfigurationVO("Advanced", "DEFAULT", "test", "pool.storage.capacity.disablethreshold", null, "description");
877878
cfg.setScope(10);

server/src/test/java/com/cloud/server/ManagementServerImplTest.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -766,6 +766,7 @@ public void testSearchForConfigurations() {
766766
Mockito.when(cmd.getAccountId()).thenReturn(null);
767767
Mockito.when(cmd.getDomainId()).thenReturn(null);
768768
Mockito.when(cmd.getImageStoreId()).thenReturn(null);
769+
Mockito.when(cmd.getManagementServerId()).thenReturn(null);
769770

770771
SearchCriteria<ConfigurationVO> sc = Mockito.mock(SearchCriteria.class);
771772
Mockito.when(configDao.createSearchCriteria()).thenReturn(sc);

0 commit comments

Comments
 (0)