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 446c437 commit a13d7ddCopy full SHA for a13d7dd
PSDevOps.tests.ps1
@@ -289,6 +289,18 @@ describe 'Calling REST APIs' {
289
$whatIf.uri | Should -BeLike '*/MyTeam*'
290
$whatIf.Method | Should -Be DELETE
291
}
292
+
293
+ it 'Can set team -DefaultAreaPath and -AreaPath' {
294
+ $whatIf =
295
+ Get-ADOTeam -Organization StartAutomating -Project PSDevOps -TeamID 'PSDevOps Team' -PersonalAccessToken $testPat |
296
+ Set-ADOTeam -DefaultAreaPath "MyAreaPath" -WhatIf -AreaPath "An\AreaPath", "Another\AreaPath"
297
298
+ $whatIf.Method | Should -Be PATCH
299
+ $whatIf.Uri | Should -BeLike '*teamFieldvalue*'
300
+ $whatIf.Body.defaultValue | Should -Be MyAreaPath
301
302
303
+ }
304
305
306
context Repositories {
0 commit comments