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:
Rohit Yadav 2016-11-03 09:11:11 +05:30
parent b75e695815
commit 25b6990e22
No known key found for this signature in database
GPG Key ID: 484248210EE3D884
1 changed files with 1 additions and 1 deletions

View File

@ -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);