Skip to content

Commit 4e739b0

Browse files
Add debug in test
1 parent b3966a7 commit 4e739b0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/FindPSResourceTests/FindPSResourceContainerRegistryServer.Tests.ps1

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -175,6 +175,7 @@ Describe 'Test HTTP Find-PSResource for ACR Server Protocol' -tags 'CI' {
175175
It "Should find all resources given Name '*'" {
176176
# FindAll()
177177
$res = Find-PSResource -Name "*" -Repository $ACRRepoName -ErrorVariable err -ErrorAction SilentlyContinue
178+
$err | Should -BeNullOrEmpty
178179
$res | Should -Not -BeNullOrEmpty
179180
$res.Count | Should -BeGreaterThan 0
180181
}

0 commit comments

Comments
 (0)