File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
tests/Integration/Resources Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ BeforeAll {
4848 . $configFile
4949
5050 # Download Microsoft SQL Server Reporting Services (October 2017) executable
51- if (-not (Test-Path - Path $ConfigurationData.AllNodes.SourcePath ))
51+ if (-not (Test-Path - Path $ConfigurationData.AllNodes.MediaPath ))
5252 {
5353 # By switching to 'SilentlyContinue' should theoretically increase the download speed.
5454 $previousProgressPreference = $ProgressPreference
@@ -82,14 +82,14 @@ BeforeAll {
8282
8383 Write-Verbose - Message (' Start downloading the {1} executable at {0}.' -f (Get-Date - Format ' yyyy-MM-dd hh:mm:ss' ), $script :mockSourceMediaDisplayName ) - Verbose
8484
85- Invoke-WebRequest - Uri $script :mockSourceMediaUrl - OutFile $ConfigurationData.AllNodes.SourcePath
85+ Invoke-WebRequest - Uri $script :mockSourceMediaUrl - OutFile $ConfigurationData.AllNodes.MediaPath
8686
87- Write-Verbose - Message (' {1} executable file has SHA1 hash '' {0}'' .' -f (Get-FileHash - Path $ConfigurationData.AllNodes.SourcePath - Algorithm ' SHA1' ).Hash, $script :mockSourceMediaDisplayName ) - Verbose
87+ Write-Verbose - Message (' {1} executable file has SHA1 hash '' {0}'' .' -f (Get-FileHash - Path $ConfigurationData.AllNodes.MediaPath - Algorithm ' SHA1' ).Hash, $script :mockSourceMediaDisplayName ) - Verbose
8888
8989 $ProgressPreference = $previousProgressPreference
9090
9191 # Double check that the Microsoft SQL Server Reporting Services (October 2017) was downloaded.
92- if (-not (Test-Path - Path $ConfigurationData.AllNodes.SourcePath ))
92+ if (-not (Test-Path - Path $ConfigurationData.AllNodes.MediaPath ))
9393 {
9494 Write-Warning - Message (' {0} executable could not be downloaded, can not run the integration test.' -f $script :mockSourceMediaDisplayName )
9595 return
You can’t perform that action at this time.
0 commit comments