File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
test/PublishPSResourceTests Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -351,8 +351,10 @@ Describe "Test Publish-PSResource" -tags 'CI' {
351351 New-ModuleManifest - Path (Join-Path - Path $script :PublishModuleBase - ChildPath " $script :PublishModuleName .psd1" ) - ModuleVersion $version - Description " $script :PublishModuleName module"
352352
353353 $infoRecord = & { Publish-PSResource - Path $script :PublishModuleBase - Repository $ACRRepoName 6>&1 } | Where-Object { $_ -is [System.Management.Automation.InformationRecord ] }
354+ $infoRecord | Should -Not - BeNullOrEmpty
354355
355- $results = Find-PSResource - Name $script :PublishModuleName - Repository $ACRRepoName - InformationVariable FindRegistryAuthenticated
356+
357+ $results = Find-PSResource - Name $script :PublishModuleName - Repository $ACRRepoName
356358 $results | Should -Not - BeNullOrEmpty
357359 $results [0 ].Name | Should - Be $script :PublishModuleName
358360 $results [0 ].Version | Should - Be $version
You can’t perform that action at this time.
0 commit comments