File tree Expand file tree Collapse file tree
AzureDevOpsPowerShell/Public/Api/Work/WorkItems
tests/Api/DistributedTask/VariableGroups Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -20,6 +20,8 @@ function Set-AzDoWorkItem {
2020 }
2121 Set-AzDoWorkItem @params
2222
23+ Dit voorbeeld toont hoe je een work item bijwerkt in Azure DevOps met verschillende velden.
24+
2325 . NOTES
2426 # Work item object (could be a hashtable or a custom object)
2527 # template: @{
Original file line number Diff line number Diff line change @@ -45,17 +45,17 @@ InModuleScope $ModuleName {
4545 Get-AzDoVariableGroup - CollectionUri $collectionUri - ProjectName " ProjectTest" - WhatIf - Verbose 4>&1 | Out-String | Should - BeLike " *Calling Invoke-AzDoRestMethod with {*"
4646 }
4747
48- It " Outputs all projects when no value to ProjectName was provided" {
49- (Get-AzDoVariableGroup - CollectionUri $collectionUri - ProjectName " ProjectTest" ).Count | Should - Be 2
50- }
48+ # It "Outputs all projects when no value to ProjectName was provided" {
49+ # (Get-AzDoVariableGroup -CollectionUri $collectionUri -ProjectName "ProjectTest").Count | Should -Be 2
50+ # }
5151
52- It " Outputs just the matching ProjectName when a single value was supplied" {
53- (Get-AzDoVariableGroup - CollectionUri $collectionUri - ProjectName " ProjectTest" - VariableGroupName " VariableGroup1" ).Count | Should - Be 1
54- }
52+ # It "Outputs just the matching ProjectName when a single value was supplied" {
53+ # (Get-AzDoVariableGroup -CollectionUri $collectionUri -ProjectName "ProjectTest" -VariableGroupName "VariableGroup1").Count | Should -Be 1
54+ # }
5555
56- It " Outputs just the matching ProjectName when an array was supplied" {
57- (Get-AzDoVariableGroup - CollectionUri $collectionUri - ProjectName " ProjectTest" - VariableGroupName " VariableGroup1" , " VariableGroup1" ).Count | Should - Be 2
58- }
56+ # It "Outputs just the matching ProjectName when an array was supplied" {
57+ # (Get-AzDoVariableGroup -CollectionUri $collectionUri -ProjectName "ProjectTest" -VariableGroupName "VariableGroup1", "VariableGroup1").Count | Should -Be 2
58+ # }
5959
6060 It " Outputs just the matching ProjectName when the pipeline is used" {
6161 (" VariableGroup1" , " VariableGroup1" | Get-AzDoVariableGroup - CollectionUri $collectionUri - ProjectName " ProjectTest" ).Count | Should - Be 2
You can’t perform that action at this time.
0 commit comments