Skip to content

Commit

Permalink
update ADO error code
Browse files Browse the repository at this point in the history
  • Loading branch information
anamnavi committed Sep 25, 2023
1 parent c2f24b0 commit 6dfb572
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ Describe "Test Publish-PSResource" -tags 'CI' {

Publish-PSResource -Path $script:PublishModuleBase -Repository $ADOPublicRepoName -Credential $correctPublicRepoCred -ErrorAction SilentlyContinue

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

It "Should not publish module to ADO repository feed (private) when Credentials are incorrect" {
Expand Down

0 comments on commit 6dfb572

Please sign in to comment.