Skip to content

Commit

Permalink
Updated PublishPSResourceADOServer.Tests.ps1
Browse files Browse the repository at this point in the history
  • Loading branch information
alerickson committed Feb 6, 2024
1 parent 8c10b25 commit 0873b4a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,6 @@ Describe "Test Publish-PSResource" -tags 'CI' {

Publish-PSResource -Path $script:PublishModuleBase -Repository $ADOPrivateRepoName -Credential $incorrectRepoCred -ErrorAction SilentlyContinue

$Error[0].FullyQualifiedErrorId | Should -be "401FatalProtocolError,Microsoft.PowerShell.PSResourceGet.Cmdlets.PublishPSResource"
$Error[0].FullyQualifiedErrorId | Should -be "ProtocolFailureError,Microsoft.PowerShell.PSResourceGet.Cmdlets.PublishPSResource"
}
}

0 comments on commit 0873b4a

Please sign in to comment.