Skip to content

Commit e3d0bef

Browse files
committed
cover save-azurermdeployment in test.
1 parent a281b4b commit e3d0bef

File tree

3 files changed

+91292
-2355
lines changed

3 files changed

+91292
-2355
lines changed

src/ResourceManager/Resources/Commands.Resources.Test/ScenarioTests/SubscriptionLevelDeploymentTests.ps1

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,9 @@ function Test-DeploymentEndToEnd
3838
$getById = Get-AzureRmDeployment -Id $deploymentId
3939
Assert-AreEqual $getById.DeploymentName $deployment.DeploymentName
4040

41+
$templatePath = Save-AzureRmDeploymentTemplate -Name $deploymentName -Force
42+
Assert-NotNull $templatePath.Path
43+
4144
$operations = Get-AzureRmDeploymentOperation -DeploymentName $deploymentName
4245
Assert-AreEqual 4 @($operations).Count
4346

0 commit comments

Comments
 (0)