diff options
author | Klaudio Sinani <klaudio.sinani@sonarsource.com> | 2022-11-10 17:58:30 +0100 |
---|---|---|
committer | sonartech <sonartech@sonarsource.com> | 2022-11-15 20:02:59 +0000 |
commit | 8f9eb2135150b0a77aea302e17afa4ba238560ce (patch) | |
tree | 1412fb1e771c35d6bf149f54b3083ef3d18cd787 /sonar-scanner-engine/src/test | |
parent | 53f94935f393750ba08a7e1fa00742acadbadafb (diff) | |
download | sonarqube-8f9eb2135150b0a77aea302e17afa4ba238560ce.tar.gz sonarqube-8f9eb2135150b0a77aea302e17afa4ba238560ce.zip |
SONAR-17560 Introduce SARIF version validation
Diffstat (limited to 'sonar-scanner-engine/src/test')
-rw-r--r-- | sonar-scanner-engine/src/test/java/org/sonar/scanner/externalissue/sarif/SarifIssuesImportSensorTest.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sonar-scanner-engine/src/test/java/org/sonar/scanner/externalissue/sarif/SarifIssuesImportSensorTest.java b/sonar-scanner-engine/src/test/java/org/sonar/scanner/externalissue/sarif/SarifIssuesImportSensorTest.java index 8d6d10db945..043189f0d6d 100644 --- a/sonar-scanner-engine/src/test/java/org/sonar/scanner/externalissue/sarif/SarifIssuesImportSensorTest.java +++ b/sonar-scanner-engine/src/test/java/org/sonar/scanner/externalissue/sarif/SarifIssuesImportSensorTest.java @@ -33,8 +33,8 @@ import org.sonar.api.utils.log.LoggerLevel; import org.sonar.core.sarif.Sarif210; import org.sonar.core.sarif.SarifSerializer; -import static org.mockito.Mockito.doThrow; import static org.assertj.core.api.Assertions.assertThat; +import static org.mockito.Mockito.doThrow; import static org.mockito.Mockito.mock; import static org.mockito.Mockito.verify; import static org.mockito.Mockito.when; @@ -61,7 +61,7 @@ public class SarifIssuesImportSensorTest { @Rule public LogTester logTester = new LogTester(); - private SensorContextTester sensorContext = SensorContextTester.create(Path.of(".")); + private final SensorContextTester sensorContext = SensorContextTester.create(Path.of(".")); @Test public void execute_single_files() { |