You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -509,7 +509,7 @@ Describe 'Test Find-PSResource for searching and looping through repositories' -
509
509
$err| Should -HaveCount 1
510
510
$err[0].FullyQualifiedErrorId | Should -BeExactly "WildcardsUnsupportedForCommandNameorDSCResourceName,Microsoft.PowerShell.PSResourceGet.Cmdlets.FindPSResource"
511
511
512
-
$res.Count| Should -BeGreaterOrEqual 9
512
+
$res.Count| Should -BeGreaterOrEqual 1
513
513
$pkgFoundFromLocalRepo=$false
514
514
$pkgFoundFromPSGallery=$false
515
515
@@ -535,7 +535,7 @@ Describe 'Test Find-PSResource for searching and looping through repositories' -
535
535
# Package with CommandName "Get-TargetResource" exists in the following repositories: PSGallery, localRepo
@@ -681,7 +681,7 @@ Describe 'Test Find-PSResource for searching and looping through repositories' -
681
681
It "find resource that has DSCResourceName specified from all repositories where it exists and not write errors where it does not exist (without -Repository specified)" {
@@ -729,7 +729,7 @@ Describe 'Test Find-PSResource for searching and looping through repositories' -
729
729
$err| Should -HaveCount 1
730
730
$err[0].FullyQualifiedErrorId | Should -BeExactly "WildcardsUnsupportedForCommandNameorDSCResourceName,Microsoft.PowerShell.PSResourceGet.Cmdlets.FindPSResource"
731
731
732
-
$res.Count| Should -BeGreaterOrEqual 2
732
+
$res.Count| Should -BeGreaterOrEqual 1
733
733
$pkgFoundFromLocalRepo=$false
734
734
$pkgFoundFromPSGallery=$false
735
735
@@ -755,7 +755,7 @@ Describe 'Test Find-PSResource for searching and looping through repositories' -
755
755
# Package with DSCResourceName "SystemLocale" exists in the following repositories: PSGallery, localRepo
0 commit comments