Skip to content

Commit dd45cfe

Browse files
committed
Fix BackupManagerTest failure
1 parent 73c185c commit dd45cfe

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -565,6 +565,8 @@ public void testCreateScheduledBackup() throws ResourceAllocationException {
565565
when(oldestBackupVO.getId()).thenReturn(oldestBackupId);
566566
when(oldestBackupVO.getVmId()).thenReturn(vmId);
567567
when(oldestBackupVO.getBackupOfferingId()).thenReturn(backupOfferingId);
568+
when(oldestBackupVO.getZoneId()).thenReturn(zoneId);
569+
when(oldestBackupVO.getAccountId()).thenReturn(accountId);
568570

569571
when(backupDao.findById(backupId)).thenReturn(backupVO);
570572
List<BackupVO> backups = new ArrayList<>(List.of(oldestBackupVO));

ui/src/views/infra/AddObjectStorage.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,7 @@
9595
</template>
9696
<a-input v-model:value="form.size" />
9797
</a-form-item>
98+
</div>
9899
<div :span="24" class="action-button">
99100
<a-button @click="closeModal">{{ $t('label.cancel') }}</a-button>
100101
<a-button type="primary" ref="submit" @click="handleSubmit">{{ $t('label.ok') }}</a-button>

0 commit comments

Comments
 (0)