We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 463982f commit 6271a92Copy full SHA for 6271a92
PSDevOps.tests.ps1
@@ -702,7 +702,7 @@ describe 'Working with Work Items' {
702
703
it 'Can create shared queries' {
704
$testWiql = "select * from WorkItems"
705
- $NewSharedQuery = New-ADOWorkItem -Organization StartAutomating -Project PSDevOps -WIQL "select * from WorkItems" -QueryName Test -QueryPath "Shared Queries" -PersonalAccessToken $testPat -WhatIf
+ $NewSharedQuery = New-ADOWorkItem -Organization StartAutomating -Project PSDevOps -WIQL $testWiql -QueryName Test -QueryPath "Shared Queries" -PersonalAccessToken $testPat -WhatIf
706
$NewSharedQuery.body.wiql | Should -Be $testWiql
707
}
708
0 commit comments