We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 57c297b + a9ab4c2 commit 4b38c3fCopy full SHA for 4b38c3f
1 file changed
Tests/Unit/MSFT_xComputer.Tests.ps1
@@ -469,7 +469,7 @@ try
469
PartOfDomain=$false
470
}
471
472
- Set-TargetResource -Name $env:COMPUTERNAME -Description 'This is my computer' -DomainName "" | Should BeNullOrEmpty
+ Set-TargetResource -Name $env:COMPUTERNAME -Description 'This is my computer' -DomainName '' | Should BeNullOrEmpty
473
Assert-MockCalled -CommandName Set-CimInstance -Exactly -Times 1 -Scope It
474
475
It 'Changes computer description in a domain'{
0 commit comments