Skip to content

Commit 2909df9

Browse files
committed
fix nupkgPath path in the test again
1 parent 8d65189 commit 2909df9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/PublishPSResourceTests/PublishPSResourceContainerRegistryServer.Tests.ps1

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -516,7 +516,7 @@ Describe "Test Publish-PSResource" -tags 'CI' {
516516
}
517517

518518
It "Publish a package given NupkgPath to a package with .psd1" {
519-
$packageName = "temp-testmodule-nupkgpath.nupkg"
519+
$packageName = "temp-testmodule-nupkgpath.1.0.0.nupkg"
520520
$version = "1.0.0.0"
521521
$nupkgPath = Join-Path -Path $script:testNupkgsFolderPath -ChildPath $packageName
522522
Publish-PSResource -NupkgPath $nupkgPath -Repository $ACRRepoName
@@ -528,7 +528,7 @@ Describe "Test Publish-PSResource" -tags 'CI' {
528528
}
529529

530530
It "Publish a package given NupkgPath to a package with .ps1" {
531-
$packageName = "temp-testscript-nupkgpath.nupkg"
531+
$packageName = "temp-testscript-nupkgpath.1.0.0.nupkg"
532532
$version = "1.0.0.0"
533533
$nupkgPath = Join-Path -Path $script:testNupkgsFolderPath -ChildPath $packageName
534534
Publish-PSResource -NupkgPath $nupkgPath -Repository $ACRRepoName
@@ -540,7 +540,7 @@ Describe "Test Publish-PSResource" -tags 'CI' {
540540
}
541541

542542
It "Publish a package given NupkgPath to a package with .nuspec" {
543-
$packageName = "temp-testnupkg-nupkgpath.nupkg"
543+
$packageName = "temp-testnupkg-nupkgpath.1.0.0.nupkg"
544544
$version = "1.0.0.0"
545545
$nupkgPath = Join-Path -Path $script:testNupkgsFolderPath -ChildPath $packageName
546546
Publish-PSResource -NupkgPath $nupkgPath -Repository $ACRRepoName

0 commit comments

Comments
 (0)