File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
src/ResourceManager/Network/Commands.Network.Test/ScenarioTests Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -546,13 +546,13 @@ Tests ExpressRouteCircuitConnectionCRUD.
546
546
#>
547
547
function Test-ExpressRouteCircuitConnectionCRUD
548
548
{
549
- $initCircuitName = " init_ckt "
550
- $peerCircuitName = " peer_ckt "
551
- $rgname = " globalreach "
549
+ $initCircuitName = Get-ResourceName
550
+ $peerCircuitName = Get-ResourceName
551
+ $rgname = Get-ResourceGroupName
552
552
$resourceTypeParent = " Microsoft.Network/expressRouteCircuits"
553
553
$rglocation = Get-ProviderLocation $resourceTypeParent
554
554
$rglocation = " brazilSouth"
555
- $connectionName = " transit "
555
+ $connectionName = Get-ResourceName
556
556
$addressPrefix = " 30.0.0.0/29"
557
557
558
558
@@ -616,7 +616,7 @@ function Test-ExpressRouteCircuitConnectionCRUD
616
616
$initckt
617
617
618
618
# Verify Circuit Connection fields
619
- Assert-AreEqual " transit " $initckt.Peerings [0 ].Connections[0 ].Name
619
+ Assert-AreEqual $connectionName $initckt.Peerings [0 ].Connections[0 ].Name
620
620
Assert-AreEqual " Succeeded" $initckt.Peerings [0 ].Connections[0 ].ProvisioningState
621
621
Assert-AreEqual " Connected" $initckt.Peerings [0 ].Connections[0 ].CircuitConnectionStatus
622
622
Assert-AreEqual 1 $initckt.Peerings [0 ].Connections.Count
You can’t perform that action at this time.
0 commit comments