Skip to content
This repository has been archived by the owner on Sep 15, 2021. It is now read-only.

Commit

Permalink
PLATUI-111: Deleted worksheet that was committed by mistake. Renamed …
Browse files Browse the repository at this point in the history
…zaReportInfo to zapReport
  • Loading branch information
ejayaraman committed Jul 30, 2019
1 parent 3598dc4 commit 04d2c98
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
4 changes: 0 additions & 4 deletions deleteMe.sc

This file was deleted.

4 changes: 2 additions & 2 deletions src/main/scala/uk/gov/hmrc/zap/ZapTest.scala
Original file line number Diff line number Diff line change
Expand Up @@ -64,10 +64,10 @@ trait ZapTest extends BeforeAndAfterAll with HealthCheck with ZapOrchestrator {
private def createTestReport(): Unit = {
lazy val zapVersion = zapSetup.findZapVersion

val zapReportInfo = ZapReport(relevantAlerts.sortBy {_.severityScore()}, zapConfiguration.failureThreshold, zapScan.passiveScanStatus,
val zapReport = ZapReport(relevantAlerts.sortBy {_.severityScore()}, zapConfiguration.failureThreshold, zapScan.passiveScanStatus,
zapScan.spiderRunStatus, zapScan.activeScanStatus, zapSetup.checkMissingScanners, zapVersion)

writeToFile(generateHtmlReport(zapReportInfo))
writeToFile(generateHtmlReport(zapReport))
}
}

Expand Down

0 comments on commit 04d2c98

Please sign in to comment.