Skip to content

Commit 164a98a

Browse files
committed
updated test
1 parent 759b8a1 commit 164a98a

File tree

2 files changed

+265
-267
lines changed

2 files changed

+265
-267
lines changed

src/ResourceManager/IotCentral/Commands.IotCentral.Test/ScenarioTests/IotCentralTests.ps1

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -96,9 +96,7 @@ function Test-IotCentralAppLifecycleManagement{
9696
$job | Wait-Job
9797
$result = $job | Receive-Job
9898

99-
$job = Get-AzureRmIotCentralApp -ResourceGroupName $rgname -Name $rname -AsJob
100-
$job | Wait-Job
101-
$actual = $job | Receive-Job
99+
$actual = Get-AzureRmIotCentralApp -ResourceGroupName $rgname -Name $rname
102100

103101
# Assert
104102
Assert-AreEqual $actual.Tag.Count 2

0 commit comments

Comments
 (0)