PowerShell/test/powershell/engine/Remoting
Steve Lee b63696572f Fix skipping of tests in RemoteSession.Basic.Tests.ps1 (#9304)
Moved check if able to write to $PSHome as way to skip test to `BeforeAll` which already contained a check if running on Windows.

## PR Context

As part https://github.com/PowerShell/PowerShell/pull/9279, tests were updated to be skipped if the test requires writing to `$PSHome` but is not able to.  However, these tests already had a skip mechanism in place so the additional check caused the test to run when it should have skipped.

Co-authored-by: Travis Plunk <github@ez13.net>
2019-04-05 17:00:41 -07:00
..
ImplicitRemotingBatching.Tests.ps1 Fix tests running in Azure DevOps (#8220) 2018-11-09 15:11:02 -08:00
InvokeCommandRemoteDebug.Tests.ps1 Fix tests running in Azure DevOps (#8220) 2018-11-09 15:11:02 -08:00
PSSession.Tests.ps1 Add SkipCA and SkipCN check requirement to WinRM/OMI HTTPS connection (#8279) 2018-11-27 16:16:00 -08:00
RemoteSession.Basic.Tests.ps1 Fix skipping of tests in RemoteSession.Basic.Tests.ps1 (#9304) 2019-04-05 17:00:41 -07:00
RoleCapabilityFiles.Tests.ps1 Convert ShouldBeErrorId to Should -Throw -ErrorId in PowerShell tests (#6682) 2018-05-17 14:42:04 -07:00
RunspacePool.Tests.ps1 Update tests to account for when $PSHOME is readonly (#9279) 2019-04-04 23:01:01 -07:00
SessionOption.Tests.ps1 Use new Pester syntax: -Parameter for Pester tests in engine. (#6298) 2018-03-14 12:13:32 -07:00
SSHRemotingAPI.Tests.ps1 Update 'SSHConnectionInfo Class Tests' $skipTest expression to use collection semantics instead of relying on $null (which causes a type cast exception). (#7610) 2018-08-23 15:10:39 -07:00
SSHRemotingCmdlets.Tests.ps1 Convert ShouldBeErrorId to Should -Throw -ErrorId in PowerShell tests (#6682) 2018-05-17 14:42:04 -07:00