Skip to content

Commit 9e727f2

Browse files
committed
Fixing bugs and modifying tests for analysis services commands
- Added ServerFullName property to powershell type. - Modified tests to validate.
1 parent 166292e commit 9e727f2

File tree

5 files changed

+553
-495
lines changed

5 files changed

+553
-495
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)