diff --git a/tests/chocolatey-tests/choco-install.Tests.ps1 b/tests/chocolatey-tests/choco-install.Tests.ps1 index e7e513c223..96f303ab4c 100644 --- a/tests/chocolatey-tests/choco-install.Tests.ps1 +++ b/tests/chocolatey-tests/choco-install.Tests.ps1 @@ -205,19 +205,41 @@ Describe "choco install" -Tag Chocolatey, InstallCommand { @" - "@ | Out-File $env:CHOCOLATEY_TEST_PACKAGES_PATH\alloptions.packages.config -Encoding utf8 @@ -246,11 +268,11 @@ Describe "choco install" -Tag Chocolatey, InstallCommand { # SkipAutomationScripts sets configuration option SkipPackageInstallProvider @{ Option = "SkipPackageInstallProvider" ; ExpectedValue = "True" } # User is expanded to Username - @{ Option = "Username" ; ExpectedValue = "string" } + @{ Option = "Username" ; ExpectedValue = "user" } # Password should *not* be output in the logging # @{ Option = "Password" ; ExpectedValue = "string" } # Cert is expanded to Certificate - @{ Option = "Certificate" ; ExpectedValue = "string" } + @{ Option = "Certificate" ; ExpectedValue = "cert" } # CertPassword should *not* be output in the logging # @{ Option = "CertPassword" ; ExpectedValue = "string" } # IgnoreChecksums sets ChecksumFiles to False @@ -259,10 +281,10 @@ Describe "choco install" -Tag Chocolatey, InstallCommand { # @{ Option = "RequireChecksums" ; ExpectedValue = "True" } @{ Option = "AllowEmptyChecksums" ; ExpectedValue = "False" } @{ Option = "AllowEmptyChecksumsSecure" ; ExpectedValue = "False" } - @{ Option = "DownloadChecksum" ; ExpectedValue = "string" } - @{ Option = "DownloadChecksum64" ; ExpectedValue = "string" } - @{ Option = "DownloadChecksumType" ; ExpectedValue = "sha512" } - @{ Option = "DownloadChecksumType64" ; ExpectedValue = "sha512" } + @{ Option = "DownloadChecksum" ; ExpectedValue = "downloadChecksum" } + @{ Option = "DownloadChecksum64" ; ExpectedValue = "downloadChecksum64" } + @{ Option = "DownloadChecksumType" ; ExpectedValue = "downloadChecksumType" } + @{ Option = "DownloadChecksumType64" ; ExpectedValue = "downloadChecksumType64" } # UsePackageExitCodes and IgnorePackageExitCodes set the same setting, but are opposite of each other. # UsePackageExitCodes is evaluated last, so takes precidence. # @{ Option = "IgnorePackageExitCodes" ; ExpectedValue = "True" }