Skip to content

Commit c31315c

Browse files
o-l-a-vanamnavi
andauthored
Update test/InstallPSResourceTests/InstallPSResourceV3Server.Tests.ps1
Co-authored-by: Anam Navied <[email protected]>
1 parent 9df89d9 commit c31315c

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

test/InstallPSResourceTests/InstallPSResourceV3Server.Tests.ps1

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -377,6 +377,11 @@ Describe 'Test Install-PSResource for V3Server scenarios' -tags 'CI' {
377377
$res3.Name | Should -Be 'testModule99'
378378
$res3.Version | Should -Be '0.0.93'
379379
}
380+
381+
It "Install module and its dependencies" {
382+
$res = Install-PSResource 'TestModuleWithDependencyE' -Repository $NuGetGalleryName -TrustRepository -PassThru
383+
$res.Length | Should -Be 4
384+
}
380385
}
381386

382387
Describe 'Test Install-PSResource for V3Server scenarios' -tags 'ManualValidationOnly' {

0 commit comments

Comments
 (0)