From 4fbcca8d63e8ff78862d5d793435c44f37777bbb Mon Sep 17 00:00:00 2001 From: Joe Workman Date: Fri, 15 Nov 2024 08:48:37 -0700 Subject: [PATCH] fix remove-JcPolicyGroup tests --- .../Policies/PolicyGroups/Remove-JCPolicyGroup.Tests.ps1 | 4 ---- 1 file changed, 4 deletions(-) diff --git a/PowerShell/JumpCloud Module/Tests/Public/Policies/PolicyGroups/Remove-JCPolicyGroup.Tests.ps1 b/PowerShell/JumpCloud Module/Tests/Public/Policies/PolicyGroups/Remove-JCPolicyGroup.Tests.ps1 index 69013f8ee..6ba669c14 100644 --- a/PowerShell/JumpCloud Module/Tests/Public/Policies/PolicyGroups/Remove-JCPolicyGroup.Tests.ps1 +++ b/PowerShell/JumpCloud Module/Tests/Public/Policies/PolicyGroups/Remove-JCPolicyGroup.Tests.ps1 @@ -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 @@ -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