You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Tests/Unit/MSFT_xComputer.Tests.ps1
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -556,7 +556,7 @@ try
556
556
}
557
557
Set-TargetResource-Name $env:ComputerName| Should BeNullOrEmpty
558
558
Set-TargetResource-Name $env:COMPUTERNAME-DomainName 'Contoso.com'-Credential $Credential-UnjoinCredential $Credential-Description 'This is my computer'| Should BeNullOrEmpty
559
-
Assert-MockCalled-CommandName Set-CimInstance-Exactly -Times 2-Scope It
559
+
Assert-MockCalled-CommandName Set-CimInstance-Exactly -Times 1-Scope It
0 commit comments