File tree Expand file tree Collapse file tree 1 file changed +0
-8
lines changed Expand file tree Collapse file tree 1 file changed +0
-8
lines changed Original file line number Diff line number Diff line change @@ -693,16 +693,8 @@ describe 'Working with Work Items' {
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
695695 }
696-
697- it ' Can create shared queries' {
698- $testWiql = " select * from WorkItems"
699- $NewSharedQuery = New-ADOWorkItem - Organization StartAutomating - Project PSDevOps - WIQL $testWiql - QueryName Test - PersonalAccessToken $testPat - WhatIf
700- $NewSharedQuery.body.wiql | Should - Be $testWiql
701- }
702696 }
703697
704-
705-
706698 it ' Can create, update, and remove a work item' {
707699 $splat = @ {Organization = $TestOrg ; Project = $TestProject ; PersonalAccessToken = $testPat }
708700 $wi = New-ADOWorkItem - InputObject @ {Title = ' Test-WorkItem' } - Type Issue - ParentID 1 @splat - Tag ' PSDevOpsUnitTest' - Comment ' Added while unit testing'
You can’t perform that action at this time.
0 commit comments