File tree Expand file tree Collapse file tree 2 files changed +470
-214
lines changed
src/ResourceManager/Network/Commands.Network.Test
SessionRecords/Commands.Network.Test.ScenarioTests.LoadBalancerTests Expand file tree Collapse file tree 2 files changed +470
-214
lines changed Original file line number Diff line number Diff line change @@ -1299,9 +1299,9 @@ function Test-LoadBalancerInboundNatPoolConfigCRUD-InternalLB
1299
1299
$domainNameLabel = Get-ResourceName
1300
1300
$lbName = Get-ResourceName
1301
1301
$frontendName = Get-ResourceName
1302
- $rglocation = Get-ProviderLocation ResourceManagement
1302
+ $rglocation = " West US "
1303
1303
$resourceTypeParent = " Microsoft.Network/loadBalancers"
1304
- $location = Get-ProviderLocation $resourceTypeParent
1304
+ $location = " West US "
1305
1305
1306
1306
try
1307
1307
{
@@ -1391,9 +1391,9 @@ function Test-LoadBalancerInboundNatPoolConfigCRUD-PublicLB
1391
1391
$lbName = Get-ResourceName
1392
1392
$frontendName = Get-ResourceName
1393
1393
$inboundNatPoolName = Get-ResourceName
1394
- $rglocation = Get-ProviderLocation ResourceManagement
1394
+ $rglocation = " West US "
1395
1395
$resourceTypeParent = " Microsoft.Network/loadBalancers"
1396
- $location = Get-ProviderLocation $resourceTypeParent
1396
+ $location = " West US "
1397
1397
1398
1398
try
1399
1399
{
@@ -2251,8 +2251,9 @@ function Test-LoadBalancerZones
2251
2251
2252
2252
$zones = " 1" ;
2253
2253
$rglocation = Get-ProviderLocation ResourceManagement
2254
+ # TODO: replace hardcoded location
2254
2255
$resourceTypeParent = " Microsoft.Network/loadBalancers"
2255
- $location = Get-ProviderLocation $resourceTypeParent
2256
+ $location = " centralus " ;
2256
2257
2257
2258
try
2258
2259
{
You can’t perform that action at this time.
0 commit comments