Skip to content

Commit c403b7c

Browse files
committed
fix: fixing pester tests
1 parent 9042a11 commit c403b7c

File tree

3 files changed

+13
-0
lines changed

3 files changed

+13
-0
lines changed

AzureDevOpsPowerShell/Public/Api/Work/WorkItems/Get-AzDoWorkItem.ps1

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,19 @@ function Get-AzDoWorkItem {
1111
WorkItemId = 1
1212
}
1313
Get-AzDoWorkItem @params
14+
15+
This example retrieves a work item from Azure DevOps.
16+
1417
.EXAMPLE
1518
$params = @{
1619
CollectionUri = 'https://dev.azure.com/organization'
1720
ProjectName = 'ProjectName'
1821
WorkItemId = 1, 2, 3
1922
}
2023
Get-AzDoWorkItem @params
24+
25+
This example retrieves multiple work items from Azure DevOps.
26+
2127
.OUTPUTS
2228
[PSCustomObject]@{
2329
Id = 1

AzureDevOpsPowerShell/Public/Api/Work/WorkItems/New-AzDoWorkItem.ps1

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ function New-AzDoWorkItem {
2121
}
2222
New-AzDoWorkItem @params
2323
24+
This example creates a new work item in Azure DevOps with the specified fields.
2425
.EXAMPLE
2526
$params = @{
2627
CollectionUri = 'https://dev.azure.com/organization'
@@ -47,6 +48,8 @@ function New-AzDoWorkItem {
4748
}
4849
New-AzDoWorkItem @params
4950
51+
This example creates a new work item in Azure DevOps with the specified fields.
52+
5053
.OUTPUTS
5154
PSCustomObject
5255
#>

AzureDevOpsPowerShell/Public/Api/Work/WorkItems/Remove-AzDoWorkItem.ps1

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,17 @@ function Remove-AzDoWorkItem {
1414
}
1515
Remove-AzDoWorkItem @params
1616
17+
This example removes a work item from Azure DevOps.
18+
1719
.EXAMPLE
1820
$params = @{
1921
CollectionUri = 'https://dev.azure.com/organization'
2022
ProjectName = 'ProjectName'
2123
WorkItemId = 1, 2, 3
2224
}
2325
Remove-AzDoWorkItem @params
26+
27+
This cmdlet removes work items from Azure DevOps.
2428
#>
2529
[CmdletBinding(SupportsShouldProcess)]
2630
param (

0 commit comments

Comments
 (0)