From 0c7b1886870f74d814c16a5d6e70caccaacfdbb1 Mon Sep 17 00:00:00 2001 From: Jan-Hendrik Peters Date: Wed, 21 Sep 2022 20:22:56 +0200 Subject: [PATCH] Fixed ReverseDsc tests --- tests/Unit/ConfigMgrCBDsc.ReverseDsc.tests.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/Unit/ConfigMgrCBDsc.ReverseDsc.tests.ps1 b/tests/Unit/ConfigMgrCBDsc.ReverseDsc.tests.ps1 index 1c842cb..9d5600b 100644 --- a/tests/Unit/ConfigMgrCBDsc.ReverseDsc.tests.ps1 +++ b/tests/Unit/ConfigMgrCBDsc.ReverseDsc.tests.ps1 @@ -6500,7 +6500,7 @@ InModuleScope $script:subModuleName { $result = Set-ConfigMgrCBDscReverse @testAll $result | Should -BeOfType System.String Assert-MockCalled Get-CMAccount -Exactly -Times 1 -Scope It - Assert-MockCalled Invoke-DscResource -Exactly -Times 48 -Scope It + Assert-MockCalled Invoke-DscResource -Exactly -Times 49 -Scope It Assert-MockCalled Get-CMAdministrativeUser -Exactly -Times 1 -Scope It Assert-MockCalled Get-CMAssetIntelligenceSynchronizationPoint -Exactly -Times 1 -Scope It Assert-MockCalled Get-CMClientSetting -Exactly -Times 20 -Scope It