From dc624991fa0b9ecba35e8e749493fd10067f41de Mon Sep 17 00:00:00 2001 From: Jean-Baptiste Lievremont Date: Thu, 19 Sep 2024 15:38:48 +0200 Subject: [PATCH] SLCORE-945 fix medium test --- .../src/test/java/mediumtest/analysis/AnalysisMediumTests.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/medium-tests/src/test/java/mediumtest/analysis/AnalysisMediumTests.java b/medium-tests/src/test/java/mediumtest/analysis/AnalysisMediumTests.java index fe4eec1a84..2de8620932 100644 --- a/medium-tests/src/test/java/mediumtest/analysis/AnalysisMediumTests.java +++ b/medium-tests/src/test/java/mediumtest/analysis/AnalysisMediumTests.java @@ -195,7 +195,7 @@ void it_should_analyze_xml_file_in_standalone_mode(@TempDir Path baseDir) { assertThat(rawIssue.getSeverity()).isEqualTo(IssueSeverity.MINOR); assertThat(rawIssue.getType()).isEqualTo(RuleType.CODE_SMELL); assertThat(rawIssue.getCleanCodeAttribute()).isEqualTo(CleanCodeAttribute.CONVENTIONAL); - assertThat(rawIssue.getImpacts()).isEqualTo(Map.of(SoftwareQuality.MAINTAINABILITY, ImpactSeverity.INFO)); + assertThat(rawIssue.getImpacts()).isEqualTo(Map.of(SoftwareQuality.MAINTAINABILITY, ImpactSeverity.LOW)); assertThat(rawIssue.getRuleKey()).isEqualTo("xml:S3421"); assertThat(rawIssue.getPrimaryMessage()).isEqualTo("Replace \"pom.version\" with \"project.version\"."); assertThat(rawIssue.getFileUri()).isEqualTo(fileUri);