diff options
author | Léo Geoffroy <leo.geoffroy@sonarsource.com> | 2022-06-23 12:21:38 +0200 |
---|---|---|
committer | sonartech <sonartech@sonarsource.com> | 2022-06-30 20:03:09 +0000 |
commit | b2079411492f9c056c92c619d2ccf08e86e88e5c (patch) | |
tree | d41cad00a40352d3dc93d9ec46eb4092319c9254 /server/sonar-webserver-pushapi/src/test | |
parent | a410c8e18142d77c4e19ef10ce6d420526d5c236 (diff) | |
download | sonarqube-b2079411492f9c056c92c619d2ccf08e86e88e5c.tar.gz sonarqube-b2079411492f9c056c92c619d2ccf08e86e88e5c.zip |
SONAR-16518 Add context to RuleDescriptionSectionDto
Diffstat (limited to 'server/sonar-webserver-pushapi/src/test')
-rw-r--r-- | server/sonar-webserver-pushapi/src/test/java/org/sonar/server/pushapi/qualityprofile/QualityProfileChangeEventServiceImplTest.java | 2 |
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); |