Update PowerShell to reference 'psrp.1.4.5-0' on Unix build (#7350)

This commit is contained in:
Dan Travison 2018-07-25 10:04:00 -07:00 committed by Dongbo Wang
parent e3854815ab
commit 936626b7e8
2 changed files with 2 additions and 4 deletions

View File

@ -32,7 +32,7 @@
<ItemGroup>
<PackageReference Include="libpsl" Version="6.0.0-*" />
<PackageReference Include="psrp" Version="1.4.2-*" />
<PackageReference Include="psrp" Version="1.4.5-*" />
<PackageReference Include="PSDesiredStateConfiguration" Version="6.0.0-beta.8" />
<PackageReference Include="PowerShellHelpFiles" Version="1.0.0-*" />
</ItemGroup>

View File

@ -20,9 +20,7 @@ Describe "Basic Auth over HTTP not allowed on Unix" -Tag @("CI") {
$err.Exception.ErrorCode | Should -Be 801
}
# Marked as pending due to https://github.com/Microsoft/omi/issues/502
# It "New-PSSession should NOT throw a ConnectFailed exception when specifying Basic Auth over HTTPS on Unix" -skip:($IsWindows) {
It "New-PSSession should NOT throw a ConnectFailed exception when specifying Basic Auth over HTTPS on Unix" -Pending {
It "New-PSSession should NOT throw a ConnectFailed exception when specifying Basic Auth over HTTPS on Unix" -skip:($IsWindows) {
$password = ConvertTo-SecureString -String "password" -AsPlainText -Force
$credential = [PSCredential]::new('username', $password)