We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 05ff695 commit 9080e52Copy full SHA for 9080e52
1 file changed
Tests/Unit/MSFT_xComputer.Tests.ps1
@@ -286,7 +286,7 @@ try
286
It 'Changes computer description'{
287
Mock Get-ComputerDomain {''}
288
Mock Get-WMIObject {[PSCustomObject]@{Domain = 'Contoso';Workgroup='Contoso';PartOfDomain=$false}}
289
- Set-TargetResource -Name $env:COMPUTERNAME -Description = 'This is my computer'
+ Set-TargetResource -Name $env:COMPUTERNAME -WorkGroupName 'Contoso' -Description = 'This is my computer'
290
Assert-MockCalled -CommandName Set-CimInstance -Exactly 1 -Scope It
291
}
292
0 commit comments