diff --git a/test/powershell/engine/Help/UpdatableHelpSystem.Tests.ps1 b/test/powershell/engine/Help/UpdatableHelpSystem.Tests.ps1 index 8ba828c37c9..a8837ef248e 100644 --- a/test/powershell/engine/Help/UpdatableHelpSystem.Tests.ps1 +++ b/test/powershell/engine/Help/UpdatableHelpSystem.Tests.ps1 @@ -168,8 +168,7 @@ function RunUpdateHelpTests { param ( [string]$tag = "CI", - [switch]$useSourcePath, - [switch]$Pending + [switch]$useSourcePath ) foreach ($moduleName in $modulesInBox) @@ -177,7 +176,7 @@ function RunUpdateHelpTests if ($powershellCoreModules -contains $moduleName) { - It "Validate Update-Help for module '$moduleName'" -Pending:$Pending { + It "Validate Update-Help for module '$moduleName'" { # If the help file is already installed, delete it. Get-ChildItem $testCases[$moduleName].HelpInstallationPath -Include @("*help.xml") -Recurse -ea SilentlyContinue | @@ -220,8 +219,7 @@ function RunUpdateHelpTests function RunSaveHelpTests { param ( - [string]$tag = "CI", - [switch]$Pending + [string]$tag = "CI" ) foreach ($moduleName in $modulesInBox) @@ -233,7 +231,7 @@ function RunSaveHelpTests $saveHelpFolder = Join-Path $TestDrive (Get-Random).ToString() New-Item $saveHelpFolder -Force -ItemType Directory - It "Validate Save-Help for the '$moduleName' module" -Pending:$Pending { + It "Validate Save-Help for the '$moduleName' module" { if ((Get-UICulture).Name -ne "en-Us") { @@ -285,7 +283,7 @@ Describe "Validate Update-Help from the Web for one PowerShell Core module." -Ta $ProgressPreference = $SavedProgressPreference } - RunUpdateHelpTests -tag "CI" -Pending + RunUpdateHelpTests -tag "CI" } Describe "Validate Update-Help from the Web for all PowerShell Core modules." -Tags @('Feature', 'RequireAdminOnWindows', 'RequireSudoOnUnix') { @@ -332,7 +330,7 @@ Describe "Validate 'Save-Help -DestinationPath for one PowerShell Core modules." AfterAll { $ProgressPreference = $SavedProgressPreference } - RunSaveHelpTests -tag "CI" -Pending + RunSaveHelpTests -tag "CI" } Describe "Validate 'Save-Help -DestinationPath for all PowerShell Core modules." -Tags @('Feature', 'RequireAdminOnWindows') {