Skip to content

Commit e5746be

Browse files
committed
Correct test name
1 parent 5dbd778 commit e5746be

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

test/FindPSResourceTests/FindPSResourceV2Server.Tests.ps1

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -419,9 +419,9 @@ Describe 'Test HTTP Find-PSResource for V2 Server Protocol' -tags 'ManualValidat
419419
AfterAll {
420420
Get-RevertPSResourceRepositoryFile
421421
}
422-
It "find resource given CommandName" {
423-
$res = Find-PSResource -Name $testModuleName -Repository $PSGalleryName -Type Module
424422

423+
It "find module by name" {
424+
$res = Find-PSResource -Name $testModuleName -Repository $PSGalleryName -Type Module
425425
$res.Name | Should -Be $testModuleName
426426
}
427427

@@ -436,8 +436,7 @@ Describe 'Test HTTP Find-PSResource for V2 Server Protocol' -tags 'ManualValidat
436436
$duplicatePkgsFound = $true
437437
break
438438
}
439-
440-
$foundPkgs.Add($item.Name)
439+
$null = $foundPkgs.Add($item.Name)
441440
}
442441

443442
$duplicatePkgsFound | Should -BeFalse

0 commit comments

Comments
 (0)