diff --git a/test/powershell/Modules/Microsoft.PowerShell.Core/History.Tests.ps1 b/test/powershell/Modules/Microsoft.PowerShell.Core/History.Tests.ps1 index 4e2f1004bd..280cc44580 100644 --- a/test/powershell/Modules/Microsoft.PowerShell.Core/History.Tests.ps1 +++ b/test/powershell/Modules/Microsoft.PowerShell.Core/History.Tests.ps1 @@ -66,7 +66,7 @@ Describe "History cmdlet test cases" -Tags "CI" { } $informationPreference = "Continue" - $debugPreference = "Continue" + $DebugPreference = "Continue" $verbosePreference = "Continue" '