Skip to content

Commit 5075b6b

Browse files
committed
fix test
1 parent 295198e commit 5075b6b

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

engine/storage/snapshot/src/test/java/org/apache/cloudstack/storage/vmsnapshot/VMSnapshotStrategyKVMTest.java

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@
2929

3030
import javax.inject.Inject;
3131

32+
import org.apache.cloudstack.backup.dao.BackupDao;
33+
import org.apache.cloudstack.backup.dao.BackupOfferingDao;
3234
import org.apache.cloudstack.engine.subsystem.api.storage.DataStore;
3335
import org.apache.cloudstack.engine.subsystem.api.storage.DataStoreManager;
3436
import org.apache.cloudstack.engine.subsystem.api.storage.DataStoreProviderManager;
@@ -431,5 +433,10 @@ public DataStoreProviderManager manager() {
431433
public VMSnapshotDetailsDao vmSnapshotDetailsDao () {
432434
return Mockito.mock(VMSnapshotDetailsDao.class);
433435
}
436+
437+
@Bean
438+
public BackupOfferingDao backupOfferingDao() {
439+
return Mockito.mock(BackupOfferingDao.class);
440+
}
434441
}
435442
}

0 commit comments

Comments
 (0)