We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b63b96a + 8741a2e commit b7934fdCopy full SHA for b7934fd
tests/chocolatey-tests/commands/choco-outdated.Tests.ps1
@@ -3,8 +3,19 @@
3
Describe "choco outdated" -Tag Chocolatey, OutdatedCommand {
4
BeforeAll {
5
Initialize-ChocolateyTestInstall
6
- New-ChocolateyInstallSnapshot
+ # Pin all of the Chocolatey packages
7
+ @(
8
+ 'chocolatey'
9
+ 'chocolatey.extension'
10
+ 'chocolatey-agent'
11
+ 'chocolatey-management-database'
12
+ 'chocolatey-management-service'
13
+ 'chocolatey-management-web'
14
+ ) | ForEach-Object {
15
+ $null = Invoke-Choco pin add -n $_
16
+ }
17
Invoke-Choco install upgradepackage --version 1.0.0 --confirm
18
+ New-ChocolateyInstallSnapshot
19
}
20
21
AfterAll {
0 commit comments