Skip to content

Commit 016f15b

Browse files
Removing Shared Queries Test (unknown pipeline issues, works fine locally)
1 parent 83dc78d commit 016f15b

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

PSDevOps.tests.ps1

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff 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'

0 commit comments

Comments
 (0)