File tree Expand file tree Collapse file tree 1 file changed +2
-8
lines changed Expand file tree Collapse file tree 1 file changed +2
-8
lines changed Original file line number Diff line number Diff line change @@ -692,17 +692,11 @@ describe 'Working with Work Items' {
692692 it ' Will not use workitemsbatch when using an old version of the REST api' {
693693 $queryResults = Get-ADOWorkItem - Organization StartAutomating - Project PSDevOps - Query ' Select [System.ID] from WorkItems Where [System.WorkItemType] = "Epic"' - PersonalAccessToken $testPat - ApiVersion ' 3.0'
694694 $queryResults [0 ].' System.WorkItemType' | should - be Epic
695- }
696-
697- it ' Can get shared queries' {
698- $sharedQueries = Get-ADOWorkItem - Organization StartAutomating - Project PSDevOps - SharedQuery - PersonalAccessToken $testPat - Depth 2
699- $sharedQueryWiql = $sharedQueries | Where-Object Wiql | Select-Object - ExpandProperty Wiql
700- $sharedQueryWiql | Should - BeLike ' *select*from*workitems'
701- }
695+ }
702696
703697 it ' Can create shared queries' {
704698 $testWiql = " select * from WorkItems"
705- $NewSharedQuery = New-ADOWorkItem - Organization StartAutomating - Project PSDevOps - WIQL $testWiql - QueryName Test - QueryPath " Shared Queries " - PersonalAccessToken $testPat - WhatIf
699+ $NewSharedQuery = New-ADOWorkItem - Organization StartAutomating - Project PSDevOps - WIQL $testWiql - QueryName Test - PersonalAccessToken $testPat - WhatIf
706700 $NewSharedQuery.body.wiql | Should - Be $testWiql
707701 }
708702 }
You can’t perform that action at this time.
0 commit comments