Skip to content

Commit

Permalink
Testing in appveyor without params and args
Browse files Browse the repository at this point in the history
  • Loading branch information
ethanbergstrom committed Jan 23, 2021
1 parent 857f5c9 commit 50528d8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Test/ChocolateyGet.tests.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ Describe "$platform DSC-compliant package installation and uninstallation" {
}
Context 'with additional arguments' {
$package = 'sysinternals'
$argsAndParams = '--paramsglobal --params "/InstallDir=c:\windows\temp\sysinternals /QuickLaunchShortcut=false" -y --installargs MaintenanceService=false'
# $argsAndParams = '--paramsglobal --params "/InstallDir=c:\windows\temp\sysinternals /QuickLaunchShortcut=false" -y --installargs MaintenanceService=false'

It 'searches for the latest version of a package' {
Find-Package -Provider $ChocolateyGet -Name $package -AdditionalArguments $argsAndParams -Verbose | Where-Object {$_.Name -contains $package} | Should Not BeNullOrEmpty
Expand Down Expand Up @@ -84,7 +84,7 @@ Describe "$platform pipline-based package installation and uninstallation" {
}
Context 'with additional arguments' {
$package = 'sysinternals'
$argsAndParams = '--paramsglobal --params "/InstallDir=c:\windows\temp\sysinternals /QuickLaunchShortcut=false" -y --installargs MaintenanceService=false'
# $argsAndParams = '--paramsglobal --params "/InstallDir=c:\windows\temp\sysinternals /QuickLaunchShortcut=false" -y --installargs MaintenanceService=false'

It 'searches for and silently installs the latest version of a package' {
Find-Package -Provider $ChocolateyGet -Name $package -Verbose | Install-Package -Force -AdditionalArguments $argsAndParams -Verbose | Where-Object {$_.Name -contains $package} | Should Not BeNullOrEmpty
Expand Down

0 comments on commit 50528d8

Please sign in to comment.