Skip to content

Commit c9bea12

Browse files
authored
Merge pull request Azure#3162 from athipp/dev
Need to check for null when creating Tags.
2 parents 3d1beec + 9e727f2 commit c9bea12

File tree

5 files changed

+557
-499
lines changed

5 files changed

+557
-499
lines changed

src/ResourceManager/AnalysisServices/Commands.AnalysisServices.Test/ScenarioTests/AsTests.ps1

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ function Test-AnalysisServicesServer
2222
Assert-AreEqual $location $serverCreated.Location
2323
Assert-AreEqual "Microsoft.AnalysisServices/servers" $serverCreated.Type
2424
Assert-True {$serverCreated.Id -like "*$resourceGroupName*"}
25+
Assert-True {$serverCreated.ServerFullName -ne $null -and $serverCreated.ServerFullName.Contains("*$serverName*")}
2526

2627
[array]$serverGet = Get-AzureRmAnalysisServicesServer -ResourceGroupName $resourceGroupName -Name $serverName
2728
$serverGetItem = $serverGet[0]

0 commit comments

Comments
 (0)