File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/ScenarioTests Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ $ResourceGroupName = "backuprg"
16
16
$ResourceName = " backuprn"
17
17
$DataSourceType = " VM"
18
18
$Location = " SouthEast Asia"
19
- $PolicyName = " Policy9 " ;
19
+ $PolicyName = " Policy10 " ;
20
20
$PolicyId = " c87bbada-6e1b-4db2-b76c-9062d28959a4" ;
21
21
$POName = " iaasvmcontainer;dev01testing;dev01testing"
22
22
$WorkloadType = " VM"
@@ -94,7 +94,7 @@ function Test-SetAzureBackupProtectionPolicyTests
94
94
$policy.ScheduleType = $ScheduleType
95
95
$policyNewName = " policy09_new"
96
96
97
- $protectionPolicy = New -AzureBackupProtectionPolicy - ProtectionPolicy $policy - NewName $policyNewName
97
+ $protectionPolicy = Set -AzureBackupProtectionPolicy - ProtectionPolicy $policy - NewName $policyNewName
98
98
99
99
Assert-NotNull $protectionPolicy.InstanceId ' InstanceId should not be null'
100
100
Assert-NotNull $protectionPolicy.Name ' Name should not be null'
You can’t perform that action at this time.
0 commit comments