Skip to content

Commit 3b19163

Browse files
author
Nicholas King
committed
Re-recorded failing tests after rebasing. Fixed errors in md help files for snapshots cmdlets.
1 parent e01757b commit 3b19163

File tree

7 files changed

+2395
-1532
lines changed

7 files changed

+2395
-1532
lines changed

src/ResourceManager/Websites/Commands.Websites.Test/Commands.Websites.Test.csproj

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -300,7 +300,6 @@
300300
<Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
301301
</ItemGroup>
302302
<ItemGroup />
303-
<Import Project="..\..\..\packages\Microsoft.Bcl.Build.1.0.14\tools\Microsoft.Bcl.Build.targets" Condition="Exists('..\..\..\packages\Microsoft.Bcl.Build.1.0.14\tools\Microsoft.Bcl.Build.targets')" />
304303
<Import Project="..\..\..\..\tools\Common.Dependencies.Test.targets" />
305304
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
306305
</Project>

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,7 @@ public void TestWebAppRegularSlotSwap()
106106
WebsitesController.NewInstance.RunPsTest("Test-WebAppRegularSlotSwap");
107107
}
108108

109+
[Fact]
109110
[Trait(Category.AcceptanceType, Category.CheckIn)]
110111
public void TestWebAppSwapWithPreviewResetSlotSwap()
111112
{

src/ResourceManager/Websites/Commands.Websites.Test/SessionRecords/Microsoft.Azure.Commands.Websites.Test.ScenarioTests.WebAppBackupRestoreTests/TestRestoreWebAppSnapshot.json

Lines changed: 516 additions & 186 deletions
Large diffs are not rendered by default.

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

Lines changed: 962 additions & 665 deletions
Large diffs are not rendered by default.

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

Lines changed: 904 additions & 673 deletions
Large diffs are not rendered by default.

src/ResourceManager/Websites/Commands.Websites/help/Get-AzureRmWebAppSnapshot.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
external help file: Microsoft.Azure.Commands.Websites.dll-Help.xml
33
Module Name: AzureRM.WebSites
4-
online version:
4+
online version: https://docs.microsoft.com/en-us/powershell/module/azurerm.websites/get-azurermwebappsnapshot
55
schema: 2.0.0
66
---
77

src/ResourceManager/Websites/Commands.Websites/help/Restore-AzureRmWebAppSnapshot.md

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
external help file: Microsoft.Azure.Commands.Websites.dll-Help.xml
33
Module Name: AzureRM.WebSites
4-
online version:
4+
online version: https://docs.microsoft.com/en-us/powershell/module/azurerm.websites/restore-azurermwebappsnapshot
55
schema: 2.0.0
66
---
77

@@ -87,7 +87,8 @@ Accept wildcard characters: False
8787
```
8888
8989
### -InputObject
90-
The Azure Web App snapshot.```yaml
90+
The Azure Web App snapshot.
91+
```yaml
9192
Type: AzureWebAppSnapshot
9293
Parameter Sets: (All)
9394
Aliases:
@@ -100,7 +101,8 @@ Accept wildcard characters: False
100101
```
101102
102103
### -Name
103-
The name of the web app.```yaml
104+
The name of the web app.
105+
```yaml
104106
Type: String
105107
Parameter Sets: FromResourceName
106108
Aliases:
@@ -128,7 +130,8 @@ Accept wildcard characters: False
128130
```
129131
130132
### -ResourceGroupName
131-
The name of the resource group.```yaml
133+
The name of the resource group.
134+
```yaml
132135
Type: String
133136
Parameter Sets: FromResourceName
134137
Aliases:
@@ -141,7 +144,8 @@ Accept wildcard characters: False
141144
```
142145
143146
### -Slot
144-
The name of the web app slot.```yaml
147+
The name of the web app slot.
148+
```yaml
145149
Type: String
146150
Parameter Sets: FromResourceName
147151
Aliases:
@@ -154,7 +158,8 @@ Accept wildcard characters: False
154158
```
155159
156160
### -WebApp
157-
The web app object```yaml
161+
The web app object
162+
```yaml
158163
Type: Site
159164
Parameter Sets: FromWebApp
160165
Aliases:

0 commit comments

Comments
 (0)