From b192fb14eded24f576d973c52122afdfb7221b11 Mon Sep 17 00:00:00 2001 From: Haider Agha Date: Thu, 27 Aug 2020 19:05:18 -0400 Subject: [PATCH] fixing test --- src/Compute/Compute.Test/ScenarioTests/VirtualMachineTests.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Compute/Compute.Test/ScenarioTests/VirtualMachineTests.ps1 b/src/Compute/Compute.Test/ScenarioTests/VirtualMachineTests.ps1 index 8882587e335d..8a189e77697f 100644 --- a/src/Compute/Compute.Test/ScenarioTests/VirtualMachineTests.ps1 +++ b/src/Compute/Compute.Test/ScenarioTests/VirtualMachineTests.ps1 @@ -3879,7 +3879,7 @@ function Test-EncryptionAtHostVMNull $cred = New-Object System.Management.Automation.PSCredential ($user, $securePassword); $computerName = 'test'; - $vm = New-AzVM -ResourceGroupName $rgname -Name $vmname -Credential $cred -DomainNameLabel $domainNameLabel -EncryptionAtHost; + $vm = New-AzVM -ResourceGroupName $rgname -Name $vmname -Credential $cred -DomainNameLabel $domainNameLabel; Assert-AreEqual $null $vm.SecurityProfile.encryptionathost # Get VM