aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-webserver-api
diff options
context:
space:
mode:
authorAurelien <100427063+aurelien-poscia-sonarsource@users.noreply.github.com>2022-04-28 15:10:35 +0200
committersonartech <sonartech@sonarsource.com>2022-05-06 20:02:43 +0000
commit5cea1b86e42b9b71bd289ee35d4b376cb62e51c4 (patch)
tree7d9b79f624d732275d037980322b68b3345e3696 /server/sonar-webserver-api
parent6bb200a692f7a200c0ca27900c24c8c89982e521 (diff)
downloadsonarqube-5cea1b86e42b9b71bd289ee35d4b376cb62e51c4.tar.gz
sonarqube-5cea1b86e42b9b71bd289ee35d4b376cb62e51c4.zip
SONAR-16302 Renamed RULE_DESC_SECTIONS.DESCRIPTION to RULE_DESC_SECTIONS.CONTENT and corresponding java objects
Diffstat (limited to 'server/sonar-webserver-api')
-rw-r--r--server/sonar-webserver-api/src/test/java/org/sonar/server/rule/CachingRuleFinderTest.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/sonar-webserver-api/src/test/java/org/sonar/server/rule/CachingRuleFinderTest.java b/server/sonar-webserver-api/src/test/java/org/sonar/server/rule/CachingRuleFinderTest.java
index 57db0bb1390..da0ca92e525 100644
--- a/server/sonar-webserver-api/src/test/java/org/sonar/server/rule/CachingRuleFinderTest.java
+++ b/server/sonar-webserver-api/src/test/java/org/sonar/server/rule/CachingRuleFinderTest.java
@@ -422,7 +422,7 @@ public class CachingRuleFinderTest {
assertThat(rule.getSeverity().name()).isEqualTo(ruleDefinition.getSeverityString());
assertThat(rule.getSystemTags()).isEqualTo(ruleDefinition.getSystemTags().toArray(new String[0]));
assertThat(rule.getTags()).isEmpty();
- assertThat(rule.getDescription()).isEqualTo(ruleDefinition.getDefaultRuleDescriptionSectionDto().getDescription());
+ assertThat(rule.getDescription()).isEqualTo(ruleDefinition.getDefaultRuleDescriptionSectionDto().getContent());
assertThat(rule.getParams()).hasSize(1);
org.sonar.api.rules.RuleParam param = rule.getParams().iterator().next();