Skip to content

Commit 6a8efee

Browse files
authored
comment out test now that that bug is solved (#1864)
1 parent 6bbdc0c commit 6a8efee

File tree

1 file changed

+8
-9
lines changed

1 file changed

+8
-9
lines changed

test/FindPSResourceTests/FindPSResourceLocal.Tests.ps1

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -74,15 +74,14 @@ Describe 'Test Find-PSResource for local repositories' -tags 'CI' {
7474
$res.Version | Should -Be "5.0.0"
7575
}
7676

77-
# TODO: bug with Save-PSResource
78-
# It "find resource given Name, Version null (package containing nuspec only)" {
79-
# # FindName()
80-
# $pkgName = "PowerShell"
81-
# Save-PSResource -Name $pkgName -Repository "NuGetGallery" -Path $localRepoUriAddress -AsNupkg -TrustRepository
82-
# $res = Find-PSResource -Name $pkgName -Repository $localRepo
83-
# $res.Name | Should -Be $pkgName
84-
# $res.Repository | Should -Be $localRepo
85-
# }
77+
It "find resource given Name, Version null (package containing nuspec only)" {
78+
# FindName()
79+
$pkgName = "PowerShell"
80+
Save-PSResource -Name $pkgName -Repository "NuGetGallery" -Path $localRepoUriAddress -AsNupkg -TrustRepository
81+
$res = Find-PSResource -Name $pkgName -Repository $localRepo
82+
$res.Name | Should -Be $pkgName
83+
$res.Repository | Should -Be $localRepo
84+
}
8685

8786
It "find script without RequiredModules" {
8887
# FindName()

0 commit comments

Comments
 (0)