Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Invoke-SuiteReport.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ foreach ($UnitTest in $NUnitHtml) {
#Find the exact url formatted path of the current CSS/JS file
$urlTypePath = $regex.matches($content) | foreach {$_.groups['url'].value}

$content = $regex.Replace($content,$path)
$content = $regex.Replace($content,"'$path'")

$content = ($content -replace 'ReportUnit TestRunner Report',"$ApplicationSuiteTitle") `
-replace 'Executive Summary',"Infrastrcture Test Suite for $ApplicationSuiteTitle" `
Expand All @@ -63,6 +63,6 @@ foreach ($UnitTest in $NUnitHtml) {
# Change url format to file format relative to script location
} # end foreach URL replace

Out-File -InputObject $content -FilePath "$OutputFolder\$OutputHTML" -Force
Out-File -InputObject $content -FilePath "$OutputFolder\$OutputHTML" -Force -Encoding 'utf8'

} # end Foreach unittests