Skip to content

Commit 646b92a

Browse files
author
Vini Soto
committed
Enabling Slot test
1 parent 31d6ce4 commit 646b92a

File tree

3 files changed

+4068
-3
lines changed

3 files changed

+4068
-3
lines changed

src/ResourceManager/Websites/Commands.Websites.Test/ScenarioTests/WebAppSlotTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ public void TestWebAppSwapWithPreviewCompleteSlotSwap()
123123
WebsitesController.NewInstance.RunPsTest(_logger, "Test-WebAppSwapWithPreviewCompleteSlotSwap");
124124
}
125125

126-
[Fact(Skip = "Currently the API fails when adding Azure Storage Accounts for slots. Will enable this test when the API is fixed")]
126+
[Fact]
127127
[Trait(Category.AcceptanceType, Category.CheckIn)]
128128
public void TestSetAzureStorageWebAppHyperVSlot()
129129
{

src/ResourceManager/Websites/Commands.Websites.Test/SessionRecords/Microsoft.Azure.Commands.Websites.Test.ScenarioTests.WebAppSlotTests/TestSetAzureStorageWebAppHyperVSlot.json

Lines changed: 4067 additions & 0 deletions
Large diffs are not rendered by default.

src/ResourceManager/Websites/Commands.Websites/Cmdlets/DeploymentSlots/SetAzureWebAppSlot.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,12 +63,10 @@ public class SetAzureWebAppSlotCmdlet : WebAppSlotBaseCmdlet
6363

6464
[Parameter(Position = 10, Mandatory = false, HelpMessage = "Web app settings")]
6565
[ValidateNotNullOrEmpty]
66-
[ValidateStringDictionary]
6766
public Hashtable AppSettings { get; set; }
6867

6968
[Parameter(Position = 11, Mandatory = false, HelpMessage = "Web app connection strings")]
7069
[ValidateNotNullOrEmpty]
71-
[ValidateConnectionStrings]
7270
public Hashtable ConnectionStrings { get; set; }
7371

7472
[Parameter(Position = 12, Mandatory = false, HelpMessage = "Web app handler mappings")]

0 commit comments

Comments
 (0)