Skip to content

Commit 256a85c

Browse files
committed
fix test FullyQualifiedErrorId to match existing V2 test FullyQualifiedErrorId
1 parent c0177b8 commit 256a85c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/FindPSResourceTests/FindPSResourceADOV2Server.Tests.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ Describe 'Test HTTP Find-PSResource for ADO V2 Server Protocol' -tags 'CI' {
3131
$res = Find-PSResource -Name NonExistantModule -Repository $ADOV2RepoName -ErrorVariable err -ErrorAction SilentlyContinue
3232
$res | Should -BeNullOrEmpty
3333
$err.Count | Should -BeGreaterThan 0
34-
$err[0].FullyQualifiedErrorId | Should -BeExactly "ResourceNotFound,Microsoft.PowerShell.PSResourceGet.Cmdlets.FindPSResource"
34+
$err[0].FullyQualifiedErrorId | Should -BeExactly "PackageNotFound,Microsoft.PowerShell.PSResourceGet.Cmdlets.FindPSResource"
3535
$res | Should -BeNullOrEmpty
3636
}
3737

0 commit comments

Comments
 (0)