Convert ShouldBeErrorId to Should -Throw -ErrorId in PowerShell tests. Get rid of try { } catch { } formula to assert that errors were thrown. Small fixes in tests to obey the new Pester -Parameter syntax. |
||
---|---|---|
.. | ||
InvokeCommandRemoteDebug.Tests.ps1 | ||
RemoteSession.Basic.Tests.ps1 | ||
RoleCapabilityFiles.Tests.ps1 | ||
SessionOption.Tests.ps1 | ||
SSHRemotingAPI.Tests.ps1 | ||
SSHRemotingCmdlets.Tests.ps1 |