File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/ScenarioTests Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ function Test-AzureBackupEndToEnd
32
32
$r2 = New-AzureRMBackupRetentionPolicyObject - WeeklyRetention - DaysOfWeek " Monday" - Retention 10 ;
33
33
$r3 = New-AzureRMBackupRetentionPolicyObject - MonthlyRetentionInDailyFormat - DaysOfMonth " 10" - Retention 10 ;
34
34
$r = ($r1 , $r2 , $r3 );
35
- $backupTime = (Get-Date - Hour 15 - Minute 30 - Second 0 ).ToUniversalTime();
35
+ $backupTime = (Get-Date ( " 17 August 2015 15:30:00 " ) ).ToUniversalTime();
36
36
$protectionpolicy = New-AzureRMBackupProtectionPolicy - Vault $vault - Name $ProtectionPolicyName - Type " AzureVM" - Daily - BackupTime $backupTime - RetentionPolicy $r ;
37
37
38
38
Assert-AreEqual $protectionpolicy.Name $ProtectionPolicyName ;
You can’t perform that action at this time.
0 commit comments