We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3185b3e commit 818b609Copy full SHA for 818b609
1 file changed
tests/Api/DistributedTask/VariableGroups/Variables.tests.ps1
@@ -42,7 +42,7 @@ InModuleScope $ModuleName {
42
}
43
44
It "It provides users with feedback via ShouldProcess when using WhatIf" {
45
- Get-AzDoVariableGroup -CollectionUri $collectionUri -ProjectName "ProjectTest" -WhatIf -Verbose 4>&1 | Should -BeLike "*Calling Invoke-AzDoRestMethod with {*"
+ Get-AzDoVariableGroup -CollectionUri $collectionUri -ProjectName "ProjectTest" -WhatIf -Verbose 4>&1 | Out-String | Should -BeLike "*Calling Invoke-AzDoRestMethod with {*"
46
47
48
It "Outputs all projects when no value to ProjectName was provided" {
0 commit comments