Skip to content

Commit 0043207

Browse files
committed
Fix UT failure in BackupManagerTest
1 parent 1626a37 commit 0043207

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

server/src/test/java/org/apache/cloudstack/backup/BackupManagerTest.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -626,6 +626,7 @@ public void testCreateBackupLimitReached() throws ResourceAllocationException {
626626

627627
CreateBackupCmd cmd = Mockito.mock(CreateBackupCmd.class);
628628
when(cmd.getVmId()).thenReturn(vmId);
629+
when(cmd.getScheduleId()).thenReturn(scheduleId);
629630

630631
backupManager.createBackup(cmd);
631632

0 commit comments

Comments
 (0)