diff --git a/tests/chocolatey-tests/commands/choco-install.Tests.ps1 b/tests/chocolatey-tests/commands/choco-install.Tests.ps1 index 05daee7aab..1cf6667482 100644 --- a/tests/chocolatey-tests/commands/choco-install.Tests.ps1 +++ b/tests/chocolatey-tests/commands/choco-install.Tests.ps1 @@ -1397,7 +1397,7 @@ Describe "choco install" -Tag Chocolatey, InstallCommand { @{ Command = '--pin' ; Package = 'installpackage' ; Contains = $true } @{ Command = '' ; Package = 'installpackage' ; Contains = $false } @{ Command = '' ; Package = 'packages.config' ; Contains = $true } - ) -Tag Mine { + ) { BeforeAll { Restore-ChocolateyInstallSnapshot -SetWorkDir diff --git a/tests/chocolatey-tests/commands/choco-upgrade.Tests.ps1 b/tests/chocolatey-tests/commands/choco-upgrade.Tests.ps1 index be6fee6ea0..c40ed72857 100644 --- a/tests/chocolatey-tests/commands/choco-upgrade.Tests.ps1 +++ b/tests/chocolatey-tests/commands/choco-upgrade.Tests.ps1 @@ -123,7 +123,7 @@ Describe "choco upgrade" -Tag Chocolatey, UpgradeCommand { Context "Upgrade package with () specified" -ForEach @( @{ Command = '--pin' ; Contains = $true } @{ Command = '' ; Contains = $false } - ) -tag mine { + ) { BeforeAll { Restore-ChocolateyInstallSnapshot -SetWorkDir