aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-webserver-pushapi
diff options
context:
space:
mode:
authorLéo Geoffroy <leo.geoffroy@sonarsource.com>2022-06-23 12:21:38 +0200
committersonartech <sonartech@sonarsource.com>2022-06-30 20:03:09 +0000
commitb2079411492f9c056c92c619d2ccf08e86e88e5c (patch)
treed41cad00a40352d3dc93d9ec46eb4092319c9254 /server/sonar-webserver-pushapi
parenta410c8e18142d77c4e19ef10ce6d420526d5c236 (diff)
downloadsonarqube-b2079411492f9c056c92c619d2ccf08e86e88e5c.tar.gz
sonarqube-b2079411492f9c056c92c619d2ccf08e86e88e5c.zip
SONAR-16518 Add context to RuleDescriptionSectionDto
Diffstat (limited to 'server/sonar-webserver-pushapi')
-rw-r--r--server/sonar-webserver-pushapi/src/test/java/org/sonar/server/pushapi/qualityprofile/QualityProfileChangeEventServiceImplTest.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/sonar-webserver-pushapi/src/test/java/org/sonar/server/pushapi/qualityprofile/QualityProfileChangeEventServiceImplTest.java b/server/sonar-webserver-pushapi/src/test/java/org/sonar/server/pushapi/qualityprofile/QualityProfileChangeEventServiceImplTest.java
index 1b4c10e0fc9..f2413b3d519 100644
--- a/server/sonar-webserver-pushapi/src/test/java/org/sonar/server/pushapi/qualityprofile/QualityProfileChangeEventServiceImplTest.java
+++ b/server/sonar-webserver-pushapi/src/test/java/org/sonar/server/pushapi/qualityprofile/QualityProfileChangeEventServiceImplTest.java
@@ -71,7 +71,7 @@ public class QualityProfileChangeEventServiceImplTest {
.setRepositoryKey("repo")
.setRuleKey("ruleKey")
.setDescriptionFormat(RuleDto.Format.MARKDOWN)
- .addOrReplaceRuleDescriptionSectionDto(createDefaultRuleDescriptionSection("uuid", "<div>line1\nline2</div>"));
+ .replaceRuleDescriptionSectionDtos(createDefaultRuleDescriptionSection("uuid", "<div>line1\nline2</div>"));
db.rules().insert(rule1);
ActiveRuleDto activeRuleDto = ActiveRuleDto.createFor(qualityProfileDto, rule1);