Skip to content

Commit 82e5ede

Browse files
linstor unit test fix
1 parent 5ffae3b commit 82e5ede

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎plugins/storage/volume/linstor/src/test/java/org/apache/cloudstack/storage/motion/LinstorDataMotionStrategyTest.java‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -169,6 +169,7 @@ public void setUp() throws Exception {
169169
when(srcVolumeInfo.getPath()).thenReturn("216fb792-c5ed-4ad7-98e6-ebdd25816e55");
170170
when(srcVolumeInfo.getDataStore()).thenReturn(srcDataStore);
171171
when(srcVolumeInfo.getPassphraseId()).thenReturn(null);
172+
when(srcVolumeInfo.getKmsKeyId()).thenReturn(null);
172173
StoragePoolVO srcPool = mock(StoragePoolVO.class);
173174
when(srcPool.getPoolType()).thenReturn(Storage.StoragePoolType.NetworkFilesystem);
174175
when(_storagePool.findById(SRC_POOL_ID)).thenReturn(srcPool);

0 commit comments

Comments
 (0)