mirror of https://github.com/apache/cloudstack.git
server: Fix build regression caused by 32a39
A constructor signature has changed between 4.8 and 4.9+ branches which caused failure in a unit test introduced by PR #1694. This fixes the unit test by passing null as the additional parameter (the test does not need instantiated object). Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
This commit is contained in:
parent
b75e695815
commit
25b6990e22
|
|
@ -46,7 +46,7 @@ public class StoragePoolMonitorTest {
|
|||
storageManager = Mockito.mock(StorageManagerImpl.class);
|
||||
poolDao = Mockito.mock(PrimaryDataStoreDao.class);
|
||||
|
||||
storagePoolMonitor = new StoragePoolMonitor(storageManager, poolDao);
|
||||
storagePoolMonitor = new StoragePoolMonitor(storageManager, poolDao, null);
|
||||
host = new HostVO("some-uuid");
|
||||
pool = new StoragePoolVO();
|
||||
pool.setScope(ScopeType.CLUSTER);
|
||||
|
|
|
|||
Loading…
Reference in New Issue