Skip to content

Commit cbe4a10

Browse files
o-l-a-vanamnavi
andauthored
Update test/SavePSResourceTests/SavePSResourceV3Tests.ps1
Co-authored-by: Anam Navied <[email protected]>
1 parent c31315c commit cbe4a10

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

test/SavePSResourceTests/SavePSResourceV3Tests.ps1

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -155,4 +155,9 @@ Describe 'Test HTTP Save-PSResource for V3 Server Protocol' -tags 'CI' {
155155
$pkg.Name | Should -Be 'test_module_with_license'
156156
$pkg.Version | Should -Be '2.0.0'
157157
}
158+
159+
It "Save module and its dependencies" {
160+
$res = Save-PSResource 'TestModuleWithDependencyE' -Repository $NuGetGalleryName -TrustRepository -PassThru
161+
$res.Length | Should -Be 4
162+
}
158163
}

0 commit comments

Comments
 (0)