mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-23 21:30:22 -07:00
win_get_url - refactor tests to use httptester (#53765)
* win_get_url - refactor tests to use httptester * Use the file lookup instead of slurp
This commit is contained in:
parent
42e6700a71
commit
d3792145d5
12 changed files with 215 additions and 272 deletions
|
@ -381,13 +381,13 @@ $request_params = @{
|
|||
}
|
||||
|
||||
if ($checksum) {
|
||||
$checksum = $checksum.Trim().toLower()
|
||||
$checksum = $checksum.Trim().ToLower()
|
||||
}
|
||||
if ($checksum_algorithm) {
|
||||
$checksum_algorithm = $checksum_algorithm.Trim().toLower()
|
||||
$checksum_algorithm = $checksum_algorithm.Trim().ToLower()
|
||||
}
|
||||
if ($checksum_url) {
|
||||
$checksum_url = $checksum_url.Trim().toLower()
|
||||
$checksum_url = $checksum_url.Trim()
|
||||
}
|
||||
|
||||
# Check for case $checksum variable contain url. If yes, get file data from url and replace original value in $checksum
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue