Skip to content

Commit

Permalink
refactor: Rename property "sonar.zpa.utplsql.reportPaths" to "sonar.z…
Browse files Browse the repository at this point in the history
…pa.tests.reportPaths" (#156)
  • Loading branch information
felipebz committed May 22, 2024
1 parent 83e5d6a commit c6d6fd0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ class UtPlSqlTestSensor(private val conf: Configuration,
}

companion object {
const val REPORT_PATH_KEY = "sonar.zpa.utplsql.reportPaths"
const val REPORT_PATH_KEY = "sonar.zpa.tests.reportPaths"
const val DEFAULT_REPORT_PATH = "utplsql-test.xml"
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,6 @@ class UtPlSqlTestSensorTest {
fun invalidReport() {
settings.setProperty(UtPlSqlTestSensor.REPORT_PATH_KEY, "doesnotexists.xml")
sensor.execute(context)
verify(analysisWarnings).addUnique("No utPLSQL test report was found for sonar.zpa.utplsql.reportPaths using pattern doesnotexists.xml")
verify(analysisWarnings).addUnique("No utPLSQL test report was found for sonar.zpa.tests.reportPaths using pattern doesnotexists.xml")
}
}

0 comments on commit c6d6fd0

Please sign in to comment.