Skip to content

Commit a18a27e

Browse files
Remove scenario test
1 parent 1884551 commit a18a27e

File tree

1 file changed

+0
-27
lines changed

1 file changed

+0
-27
lines changed

src/ResourceManager/Compute/Commands.Compute.Test/ScenarioTests/StrategiesVirtualMachineTests.ps1

Lines changed: 0 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -38,30 +38,3 @@ function Test-SimpleNewVm
3838
Clean-ResourceGroup $vmname
3939
}
4040
}
41-
42-
<#
43-
.SYNOPSIS
44-
Test Simple Paremeter Set for New Vm with availability sets
45-
#>
46-
function Test-SimpleNewVmAvailabilitySet
47-
{
48-
# Setup
49-
$vmname = Get-ResourceName
50-
51-
try
52-
{
53-
$username = "admin01"
54-
$password = "werWER345#%^" | ConvertTo-SecureString -AsPlainText -Force
55-
$cred = new-object -typename System.Management.Automation.PSCredential -argumentlist $username, $password
56-
57-
# Common
58-
$x = New-AzureRmVM -Name $vmname -Credential $cred -AvailabilitySetName $vmname
59-
60-
Assert-AreEqual $vmname $x.Name;
61-
}
62-
finally
63-
{
64-
# Cleanup
65-
Clean-ResourceGroup $vmname
66-
}
67-
}

0 commit comments

Comments
 (0)