diff --git a/test/powershell/Language/Scripting/I18n.Tests.ps1 b/test/powershell/Language/Scripting/I18n.Tests.ps1 index 5dbac9cb4d..26fa2aeb7d 100644 --- a/test/powershell/Language/Scripting/I18n.Tests.ps1 +++ b/test/powershell/Language/Scripting/I18n.Tests.ps1 @@ -120,7 +120,7 @@ Describe 'Testing of script internationalization' -Tags "CI" { import-localizedData mydata -filename if - if ($psculture -eq 'en-US') + if ($PSCulture -eq 'en-US') { $mydata.string1 | Should -BeExactly 'string1 for en-US in if' $mydata.string2 | Should -BeExactly 'string2 for en-US in if' diff --git a/test/powershell/Modules/Microsoft.PowerShell.Utility/Get-Culture.Tests.ps1 b/test/powershell/Modules/Microsoft.PowerShell.Utility/Get-Culture.Tests.ps1 index 7ea74c7ac0..4733963f88 100644 --- a/test/powershell/Modules/Microsoft.PowerShell.Utility/Get-Culture.Tests.ps1 +++ b/test/powershell/Modules/Microsoft.PowerShell.Utility/Get-Culture.Tests.ps1 @@ -14,7 +14,7 @@ Describe "Get-Culture" -Tags "CI" { It "Should have (Get-Culture).Name variable be equivalent to `$PSCulture" { - (Get-Culture).Name | Should -BeExactly $PsCulture + (Get-Culture).Name | Should -BeExactly $PSCulture } It "Should return the specified culture with '-Name' parameter" {