Skip to content

Commit

Permalink
(chocolatey#2787) Restore Chocolatey snapshot before sxs
Browse files Browse the repository at this point in the history
The info tests enable a proxy that prevents the side by side tests from
actually working correctly. This restores the Snapshot so we have a
fresh Chocolatey installation to test against.
  • Loading branch information
corbob committed Sep 24, 2022
1 parent 3892cfb commit a217b1c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/chocolatey-tests/choco-info.Tests.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,7 @@ Describe "choco info" -Tag Chocolatey, InfoCommand {

Context "Listing package information about local side by side installed package" {
BeforeAll {
Restore-ChocolateyInstallSnapshot
$null = Invoke-Choco install 'isdependency' --confirm --sxs

$Output = Invoke-Choco info 'isdependency' --local-only
Expand Down

0 comments on commit a217b1c

Please sign in to comment.