File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 77 Copyright = ' (c) 2023 Thomas Nieto. All rights reserved.'
88 Description = ' PSResourceGet provider for AnyPackage.'
99 PowerShellVersion = ' 5.1'
10- RequiredModules = @ (
11- @ { ModuleName = ' AnyPackage' ; ModuleVersion = ' 0.5.1' },
12- ' Microsoft.PowerShell.PSResourceGet' )
10+ RequiredModules = @ (' AnyPackage' , ' Microsoft.PowerShell.PSResourceGet' )
1311 FunctionsToExport = @ ()
1412 CmdletsToExport = @ ()
1513 AliasesToExport = @ ()
Original file line number Diff line number Diff line change @@ -70,17 +70,17 @@ Describe Update-Package {
7070 }
7171 }
7272
73- Context ' with -Prerelease parameter' {
73+ Context ' with -Prerelease parameter' - Skip {
7474 BeforeAll {
75- Install-PSResource - Name PSReadLine - Version 1.2 - TrustRepository
75+ Install-PSResource - Name NetworkingDsc - Version 8.0 . 0 - TrustRepository
7676 }
7777
7878 AfterAll {
79- Uninstall-PSResource - Name PSReadLine
79+ Uninstall-PSResource - Name NetworkingDsc
8080 }
8181
82- It ' should update <_> successfully' - TestCases ' PSReadLine ' {
83- $package = Update-Package - Name $_ - Version ' 2.0 .0-rc2 ' - Prerelease - PassThru
82+ It ' should update <_> successfully' - TestCases ' NetworkingDsc ' {
83+ $package = Update-Package - Name $_ - Version ' 8.1 .0-preview0001 ' - Prerelease - PassThru
8484
8585 $package.Version.IsPrerelease | Should - BeTrue
8686 }
You can’t perform that action at this time.
0 commit comments