Skip to content

Commit 6271a92

Browse files
Minor shared queries test cleanup
1 parent 463982f commit 6271a92

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

PSDevOps.tests.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -702,7 +702,7 @@ describe 'Working with Work Items' {
702702

703703
it 'Can create shared queries' {
704704
$testWiql = "select * from WorkItems"
705-
$NewSharedQuery = New-ADOWorkItem -Organization StartAutomating -Project PSDevOps -WIQL "select * from WorkItems" -QueryName Test -QueryPath "Shared Queries" -PersonalAccessToken $testPat -WhatIf
705+
$NewSharedQuery = New-ADOWorkItem -Organization StartAutomating -Project PSDevOps -WIQL $testWiql -QueryName Test -QueryPath "Shared Queries" -PersonalAccessToken $testPat -WhatIf
706706
$NewSharedQuery.body.wiql | Should -Be $testWiql
707707
}
708708
}

0 commit comments

Comments
 (0)