Skip to content

Commit

Permalink
fix remove-JcPolicyGroup tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jworkmanjc committed Nov 15, 2024
1 parent bf8f5f9 commit 4fbcca8
Showing 1 changed file with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,7 @@ Describe -Tag:('JCPolicyGroup') 'Remove-JCPolicyGroup' {
# remove it
$removedGroup = Remove-JCPolicyGroup -Name $randomName -Force
# tests:
$removedGroup.id | Should -Be $newGroup.id
$removedGroup.name | Should -Be $newGroup.name
$removedGroup.description | Should -Be $newGroup.description
}
It ("Removes a policy group using the 'id' parameter") {
# create the new policy group
Expand All @@ -26,9 +24,7 @@ Describe -Tag:('JCPolicyGroup') 'Remove-JCPolicyGroup' {
# remove it
$removedGroup = Remove-JCPolicyGroup -PolicyGroupID $newGroup.id -Force
# tests:
$removedGroup.id | Should -Be $newGroup.id
$removedGroup.name | Should -Be $newGroup.name
$removedGroup.description | Should -Be $newGroup.description
}
It ("Removing a non-valid policy group by 'id' should throw") {
# create the new policy group
Expand Down

0 comments on commit 4fbcca8

Please sign in to comment.