From 1941b6b198877ce590ab73f92883f41bd513ea7b Mon Sep 17 00:00:00 2001 From: "Dr. Christian Geuer-Pollmann" Date: Thu, 22 Feb 2024 10:42:24 +0100 Subject: [PATCH] Must be _artifactsLocationSasToken instead of _artifactsLocationsSasToke --- .../testcases/deploymentTemplate/artifacts-parameter.test.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arm-ttk/testcases/deploymentTemplate/artifacts-parameter.test.ps1 b/arm-ttk/testcases/deploymentTemplate/artifacts-parameter.test.ps1 index d06cb38a..60ede405 100644 --- a/arm-ttk/testcases/deploymentTemplate/artifacts-parameter.test.ps1 +++ b/arm-ttk/testcases/deploymentTemplate/artifacts-parameter.test.ps1 @@ -65,7 +65,7 @@ if ($artifactslocationParameter -ne $null) { #if it's not main template, there must not be a defaultValue to ensure the value is passed through if ($artifactslocationParameter.defaultValue -or $artifactslocationSasTokenParameter.defaultValue) { - Write-Error "The _artifactsLocation and _artifactsLocationsSasToke parameters in `"$TemplateFileName`" must not have a defaulValue in a nested template." -ErrorId ArtifactsLocation.Parameter.DefaultValue.NotEmpty + Write-Error "The _artifactsLocation and _artifactsLocationSasToken parameters in `"$TemplateFileName`" must not have a defaulValue in a nested template." -ErrorId ArtifactsLocation.Parameter.DefaultValue.NotEmpty } } } # there is a parameter named _artifactsLocation