Skip to content

Commit 4b6a143

Browse files
author
Haitao Chen
committed
Update json file
1 parent 84b3d14 commit 4b6a143

File tree

3 files changed

+414
-173
lines changed

3 files changed

+414
-173
lines changed

src/ResourceManager/OperationalInsights/Commands.OperationalInsights.Test/ScenarioTests/DataSourceTests.ps1

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,6 @@ function Test-DataSourceCreateUpdateDelete
6565

6666
# Delete one of the data sources
6767
Remove-AzureRmOperationalInsightsDataSource -Workspace $workspace -Name $daNametwo -Force
68-
# Assert-ThrowsContains { Get-AzureRmOperationalInsightsDataSource -Workspace $workspace -Name $daNametwo } "NotFound"
6968
$dataSources = Get-AzureRmOperationalInsightsDataSource -Workspace $workspace -Kind AzureActivityLog
7069
Assert-AreEqual 1 $dataSources.Count
7170
Assert-AreEqual 1 ($dataSources | Where {$_.Name -eq $dsName}).Count
@@ -80,7 +79,6 @@ function Test-DataSourceCreateUpdateDelete
8079

8180
# Delete the remaining data source via piping
8281
Remove-AzureRmOperationalInsightsDataSource -Workspace $workspace -Name $dsName -Force
83-
# Assert-ThrowsContains { Get-AzureRmOperationalInsightsDataSource -Workspace $workspace -Name $dsName } "NotFound"
8482
$dataSources = Get-AzureRmOperationalInsightsDataSource -Workspace $workspace -Kind AzureActivityLog
8583
Assert-AreEqual 0 $dataSources.Count
8684
}

0 commit comments

Comments
 (0)