Test changes needed for running in a container (#7869)

This commit is contained in:
James Truher [MSFT] authored and Aditya Patwardhan committed 2018-09-28 13:49:31 -07:00
1 parent cc44781b5b
commit 98cf44cdec
4 files changed
+40 -27

No files matched your search

@@ -48,7 +48,8 @@ Describe 'Online help tests for PowerShell Core Cmdlets' -Tags "CI" {
Describe 'Get-Help -Online opens the default web browser and navigates to the cmdlet help content' -Tags "Feature" {
$skipTest = [System.Management.Automation.Platform]::IsIoT -or
[System.Management.Automation.Platform]::IsNanoServer
[System.Management.Automation.Platform]::IsNanoServer -or
$env:__InContainer -eq 1
# this code is a workaround for issue: https://github.com/PowerShell/PowerShell/issues/3079
if((-not ($skipTest)) -and $IsWindows)