Skip to content

Commit b264e8a

Browse files
author
Nalin Gupta
committed
Recording test.
1 parent 6574078 commit b264e8a

File tree

4 files changed

+6324
-4720
lines changed

4 files changed

+6324
-4720
lines changed

src/ResourceManager/Network/Commands.Network.Test/ScenarioTests/CortexTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ public CortexTests(ITestOutputHelper output)
3030
XunitTracingInterceptor.AddToContext(new XunitTracingInterceptor(output));
3131
}
3232

33-
[Fact( Skip = "TODO, #7260: needs to be re-recorded")]
33+
[Fact]
3434
[Trait(Category.Owner, Category.brooklynft)]
3535
public void TestCortexCRUD()
3636
{

src/ResourceManager/Network/Commands.Network.Test/ScenarioTests/CortexTests.ps1

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ function Test-CortexCRUD
4747
Assert-AreEqual $false $virtualWan.AllowBranchToBranchTraffic
4848

4949
# Get Supported SecurityProvider
50-
$supportedSecurityProvider = Get-AzureRmVirtualWanSupportedSecurityProvider -ResourceGroupName $rgName -VirtualWan $virtualWan
50+
$supportedSecurityProvider = Get-AzureRmVirtualWanSupportedSecurityProvider -ResourceGroupName $rgName -VirtualWanName $virtualWanName
5151
Assert-NotNull $supportedSecurityProvider
5252

5353
# Create the Virtual Hub
@@ -100,9 +100,9 @@ function Test-CortexCRUD
100100
Assert-AreEqual $hubVnetConnectionName $hubVnetConnection.Name
101101

102102
# Update a HubVirtualNetworkConnection
103-
Update-AzureRmVirtualHubVnetConnection -ResourceGroupName $rgName -VirtualHubName $virtualHubName -Name $hubVnetConnectionName -EnableInternetSecurity
103+
Update-AzureRmVirtualHubVnetConnection -ResourceGroupName $rgName -VirtualHubName $virtualHubName -Name $hubVnetConnectionName -EnableInternetSecurity $true
104104
$hubVnetConnection = Get-AzureRmVirtualHubVnetConnection -ResourceGroupName $rgName -VirtualHubName $virtualHubName -Name $hubVnetConnectionName
105-
Assert-True $hubVnetConnection.EnableInternetSecurity
105+
Assert-AreEqual $hubVnetConnection.EnableInternetSecurity $true
106106

107107
# Download config
108108
$storetype = 'Standard_GRS'

src/ResourceManager/Network/Commands.Network.Test/SessionRecords/Commands.Network.Test.ScenarioTests.CortexTests/TestCortexCRUD.json

Lines changed: 6320 additions & 4714 deletions
Large diffs are not rendered by default.

src/ResourceManager/Network/Commands.Network/Cortex/HubVnetConnection/UpdateAzureRmHubVirtualNetworkConnectionCommand.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -128,8 +128,6 @@ public override void Execute()
128128
}
129129

130130
ConfirmAction(
131-
false,
132-
string.Format(Properties.Resources.SettingResourceMessage, this.Name),
133131
Properties.Resources.SettingResourceMessage,
134132
this.Name,
135133
() =>

0 commit comments

Comments
 (0)