Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -452,6 +452,7 @@ namespace PowershellTestConfigNamespace
$LocalTestModulePath = CreateTestModule
$LocalTestAssemblyName = CreateTestAssembly
$LocalTestDir = $script:TestDir
$ExpectedPSVersion = ("{0}.{1}" -f $PSVersionTable.PSVersion.Major, $PSVersionTable.PSVersion.Minor)
}
}

Expand Down Expand Up @@ -488,7 +489,7 @@ namespace PowershellTestConfigNamespace

$Result.Session.Name | Should be $TestSessionConfigName
$Result.Session.SessionType | Should be "Default"
$Result.Session.PSVersion | Should be 6.0
$Result.Session.PSVersion | Should be $ExpectedPSVersion
$Result.Session.Enabled | Should be $true
$Result.Session.lang | Should be $Result.Culture
$Result.Session.pssessionthreadoptions | Should be $pssessionthreadoptions
Expand Down Expand Up @@ -557,7 +558,7 @@ namespace PowershellTestConfigNamespace
$Result = [PSObject]@{Session = (Get-PSSessionConfiguration -Name $TestSessionConfigName) ; Culture = (Get-Item WSMan:\localhost\Plugin\microsoft.powershell\lang -ea SilentlyContinue).value}

$Result.Session.Name | Should be $TestSessionConfigName
$Result.Session.PSVersion | Should be 6.0
$Result.Session.PSVersion | Should be $ExpectedPSVersion
$Result.Session.Enabled | Should be $true
$Result.Session.lang | Should be $result.Culture
$Result.Session.pssessionthreadoptions | Should be $pssessionthreadoptions
Expand Down