File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed
tools/InstallationTests/NetcoreTests/Websites Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -542,8 +542,8 @@ function Test-SetWebApp
542
542
$rgname = Get-ResourceGroupName
543
543
$webAppName = Get-WebsiteName
544
544
$location = Get-Location
545
- $appServicePlanName1 = Get-WebHostPlanName
546
- $appServicePlanName2 = Get-WebHostPlanName
545
+ $appServicePlanName1 = ( Get-WebHostPlanName ) + " One "
546
+ $appServicePlanName2 = ( Get-WebHostPlanName ) + " Two "
547
547
$tier1 = " Shared"
548
548
$tier2 = " Standard"
549
549
$apiversion = " 2015-08-01"
@@ -586,9 +586,8 @@ function Test-SetWebApp
586
586
# set app settings and connection strings
587
587
$appSettings = @ { " setting1" = " valueA" ; " setting2" = " valueB" }
588
588
$connectionStrings = @ { connstring1 = @ { Type = " MySql" ; Value = " string value 1" }; connstring2 = @ { Type = " SQLAzure" ; Value = " string value 2" }}
589
-
590
589
$webApp = Set-AzureRmWebApp - ResourceGroupName $rgname - Name $webAppName - AppSettings $appSettings - ConnectionStrings $connectionStrings - NumberofWorkers $capacity
591
-
590
+
592
591
# Assert
593
592
Assert-AreEqual $webAppName $webApp.Name
594
593
Assert-AreEqual $appSettings.Keys.Count $webApp.SiteConfig.AppSettings.Count
You can’t perform that action at this time.
0 commit comments