Skip to content

Commit 7f2df88

Browse files
authored
Update DistributedSystemWithTrustedAccessNoTransShare.Tests.ps1
Fix typo of Enviornment to Environment
1 parent 08071ee commit 7f2df88

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Workloads/SapVirtualInstance.Autorest/test/DistributedSystemWithTrustedAccessNoTransShare.Tests.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Describe 'DistributedSystemWithTrustedAccessNoTransShare' {
1818
It 'CreateDistributedSystemWithTrustedAccessNoTransShare' {
1919
$MsiIdentityName = @{ $env.IdentityName = @{}}
2020
$CreateDistributedSystemWithTrustedAccessNoTransShareConfig = Join-Path $PSScriptRoot $env.CreateDistributedSystemWithTrustedAccessNoTransShareConfigPath
21-
$CreateDistributedSystemWithTrustedAccessNoTransShareResponse = New-AzWorkloadsSapVirtualInstance -SubscriptionId $env.WaaSSubscriptionId -Name $env.CreateDistributedSystemWithTrustedAccessNoTransShareSID -ResourceGroupName $env.ResourceGroupCreateSVI -Environment $env.EnviornmentNonProd -Location $env.Location -SapProduct $env.SapProduct -Configuration $CreateDistributedSystemWithTrustedAccessNoTransShareConfig -ManagedResourcesNetworkAccessType $env.MrgNetAccTypPrvt -IdentityType $env.IdentityType -UserAssignedIdentity $MsiIdentityName
21+
$CreateDistributedSystemWithTrustedAccessNoTransShareResponse = New-AzWorkloadsSapVirtualInstance -SubscriptionId $env.WaaSSubscriptionId -Name $env.CreateDistributedSystemWithTrustedAccessNoTransShareSID -ResourceGroupName $env.ResourceGroupCreateSVI -Environment $env.EnvironmentNonProd -Location $env.Location -SapProduct $env.SapProduct -Configuration $CreateDistributedSystemWithTrustedAccessNoTransShareConfig -ManagedResourcesNetworkAccessType $env.MrgNetAccTypPrvt -IdentityType $env.IdentityType -UserAssignedIdentity $MsiIdentityName
2222
$CreateDistributedSystemWithTrustedAccessNoTransShareResponse.provisioningState | Should -Be $env.ProvisioningStateSucceeded
2323
$CreateDistributedSystemWithTrustedAccessNoTransShareResponse.managedResourcesNetworkAccessType | Should -Be $env.MrgNetAccTypPrvt
2424
($CreateDistributedSystemWithTrustedAccessNoTransShareResponse.Configuration | ConvertFrom-Json).configuration.infrastructureConfiguration.storageConfiguration.transportFileShareConfiguration.configurationType | Should -Be $null
@@ -31,7 +31,7 @@ Describe 'DistributedSystemWithTrustedAccessNoTransShare' {
3131
It 'CreateDistributedSystemWithTrustedAccessNoTransShareAlias' {
3232
$MsiIdentityName = @{ $env.IdentityName = @{}}
3333
$CreateDistributedSystemWithTrustedAccessNoTransShareAliasConfig = Join-Path $PSScriptRoot $env.CreateDistributedSystemWithTrustedAccessNoTransShareConfigPath
34-
$CreateDistributedSystemWithTrustedAccessNoTransShareAliasResponse = New-AzVIS -SubscriptionId $env.WaaSSubscriptionId -Name $env.CreateDistributedSystemWithTrustedAccessNoTransShareSID -ResourceGroupName $env.ResourceGroupCreateSVI -Environment $env.EnviornmentNonProd -Location $env.Location -SapProduct $env.SapProduct -Configuration $CreateDistributedSystemWithTrustedAccessNoTransShareAliasConfig -ManagedResourcesNetworkAccessType $env.MrgNetAccTypPrvt -IdentityType $env.IdentityType -UserAssignedIdentity $MsiIdentityName
34+
$CreateDistributedSystemWithTrustedAccessNoTransShareAliasResponse = New-AzVIS -SubscriptionId $env.WaaSSubscriptionId -Name $env.CreateDistributedSystemWithTrustedAccessNoTransShareSID -ResourceGroupName $env.ResourceGroupCreateSVI -Environment $env.EnvironmentNonProd -Location $env.Location -SapProduct $env.SapProduct -Configuration $CreateDistributedSystemWithTrustedAccessNoTransShareAliasConfig -ManagedResourcesNetworkAccessType $env.MrgNetAccTypPrvt -IdentityType $env.IdentityType -UserAssignedIdentity $MsiIdentityName
3535
$CreateDistributedSystemWithTrustedAccessNoTransShareAliasResponse.provisioningState | Should -Be $env.ProvisioningStateSucceeded
3636
$CreateDistributedSystemWithTrustedAccessNoTransShareAliasResponse.managedResourcesNetworkAccessType | Should -Be $env.MrgNetAccTypPrvt
3737
($CreateDistributedSystemWithTrustedAccessNoTransShareAliasResponse.Configuration | ConvertFrom-Json).configuration.infrastructureConfiguration.storageConfiguration.transportFileShareConfiguration.configurationType | Should -Be $null

0 commit comments

Comments
 (0)