File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -419,9 +419,9 @@ Describe 'Test HTTP Find-PSResource for V2 Server Protocol' -tags 'ManualValidat
419
419
AfterAll {
420
420
Get-RevertPSResourceRepositoryFile
421
421
}
422
- It " find resource given CommandName" {
423
- $res = Find-PSResource - Name $testModuleName - Repository $PSGalleryName - Type Module
424
422
423
+ It " find module by name" {
424
+ $res = Find-PSResource - Name $testModuleName - Repository $PSGalleryName - Type Module
425
425
$res.Name | Should - Be $testModuleName
426
426
}
427
427
@@ -436,8 +436,7 @@ Describe 'Test HTTP Find-PSResource for V2 Server Protocol' -tags 'ManualValidat
436
436
$duplicatePkgsFound = $true
437
437
break
438
438
}
439
-
440
- $foundPkgs.Add ($item.Name )
439
+ $null = $foundPkgs.Add ($item.Name )
441
440
}
442
441
443
442
$duplicatePkgsFound | Should - BeFalse
You can’t perform that action at this time.
0 commit comments