From 33de0a994a06c5b805d4d79c7883a64d9a20cf93 Mon Sep 17 00:00:00 2001 From: Easyreturns <20781445+jeffotterpohl@users.noreply.github.com> Date: Wed, 1 Jul 2020 10:15:41 -0500 Subject: [PATCH] Updates per PR comments --- .../DSC_CMAdministrativeUser/DSC_CMAdministrativeUser.psm1 | 4 ++-- tests/Unit/CMAdministrativeUser.tests.ps1 | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/source/DSCResources/DSC_CMAdministrativeUser/DSC_CMAdministrativeUser.psm1 b/source/DSCResources/DSC_CMAdministrativeUser/DSC_CMAdministrativeUser.psm1 index 9639de0..87805d5 100644 --- a/source/DSCResources/DSC_CMAdministrativeUser/DSC_CMAdministrativeUser.psm1 +++ b/source/DSCResources/DSC_CMAdministrativeUser/DSC_CMAdministrativeUser.psm1 @@ -115,7 +115,7 @@ function Get-TargetResource Specifies an array of names for the collections desired to be removed from an administrative user. .PARAMETER Ensure - Specifies if the administrative User is to be present or absent. + Specifies if the administrative user is to be present or absent. #> function Set-TargetResource { @@ -463,7 +463,7 @@ function Set-TargetResource Specifies an array of names for the collections desired to be removed from an administrative user. .PARAMETER Ensure - Specifies if the administrative User is to be present or absent. + Specifies if the administrative user is to be present or absent. #> function Test-TargetResource { diff --git a/tests/Unit/CMAdministrativeUser.tests.ps1 b/tests/Unit/CMAdministrativeUser.tests.ps1 index 3c6f3d2..acec85e 100644 --- a/tests/Unit/CMAdministrativeUser.tests.ps1 +++ b/tests/Unit/CMAdministrativeUser.tests.ps1 @@ -171,7 +171,7 @@ try } Mock -CommandName Get-CMSecurityRole -MockWith { $true } - Mock -CommandName Get-CMSecurityScope -MockWith { $true} + Mock -CommandName Get-CMSecurityScope -MockWith { $true } Mock -CommandName Get-CMCollection -MockWith { $true } }