File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 66
77Describe ' GroupPolicyEnforcement API Tests' - Tags ' CI' {
88
9- It ' Should return the correct policy enforcement status' - Skip:(-not $IsWindows ) {
9+ It ' IsGroupPolicyEnabled should return the correct policy enforcement status' - Skip:(-not $IsWindows ) {
1010 $actualStatus = [Microsoft.PowerShell.PSResourceGet.Cmdlets.GroupPolicyRepositoryEnforcement ]::IsGroupPolicyEnabled()
1111 $actualStatus | Should - BeFalse
1212 }
1313
14- It ' Should return platform not supported exception on non-windows platform' - Skip:$IsWindows {
15- [Microsoft.PowerShell.PSResourceGet.Cmdlets.GroupPolicyRepositoryEnforcement ]::IsGroupPolicyEnabled() | Should - BeTrue
14+ It ' IsGroupPolicyEnabled should return false on non-windows platform' - Skip:$IsWindows {
15+ [Microsoft.PowerShell.PSResourceGet.Cmdlets.GroupPolicyRepositoryEnforcement ]::IsGroupPolicyEnabled() | Should - BeFalse
1616 }
1717
1818 It ' GetAllowedRepositoryURIs return null if Group Policy is not enabled' - Skip:(-not $IsWindows ) {
You can’t perform that action at this time.
0 commit comments