Skip to content

Commit 7d828a3

Browse files
moved tempfolder defniition
1 parent 268813e commit 7d828a3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Test-OLAInstance.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,10 +111,10 @@ if($Report)
111111
{
112112
$Date = Get-Date -Format ddMMyyyHHmmss
113113
$File = $tempFolder + '\Script_Pester_Report_' + $date
114+
$tempFolder = 'c:\temp'
114115
$XML = $File + '.xml'
115116
$HTML = $file + '.html'
116117
Invoke-Pester -Script $Script -OutputFile $xml -OutputFormat NUnitXml
117-
$tempFolder = 'c:\temp'
118118
Push-Location $tempFolder
119119
#download and extract ReportUnit.exe
120120
$url = 'http://relevantcodes.com/Tools/ReportUnit/reportunit-1.2.zip'

0 commit comments

Comments
 (0)