diff options
author | Aurelien Poscia <aurelien.poscia@sonarsource.com> | 2022-04-23 14:21:23 +0200 |
---|---|---|
committer | sonartech <sonartech@sonarsource.com> | 2022-05-06 20:02:43 +0000 |
commit | c333b3ae6984bf1b402d3398fa71de7f0a75b817 (patch) | |
tree | 7f7746ef734959e0c73c94b405fb1dec7d93eb0c /server/sonar-webserver-pushapi | |
parent | c063d9205ddfbca5ebd6136e1506d8dc6974ff35 (diff) | |
download | sonarqube-c333b3ae6984bf1b402d3398fa71de7f0a75b817.tar.gz sonarqube-c333b3ae6984bf1b402d3398fa71de7f0a75b817.zip |
SONAR-16302 persist and fetch rules with new DB structure
Diffstat (limited to 'server/sonar-webserver-pushapi')
-rw-r--r-- | server/sonar-webserver-pushapi/src/test/java/org/sonar/server/qualityprofile/builtin/QualityProfileChangeEventServiceImplTest.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/sonar-webserver-pushapi/src/test/java/org/sonar/server/qualityprofile/builtin/QualityProfileChangeEventServiceImplTest.java b/server/sonar-webserver-pushapi/src/test/java/org/sonar/server/qualityprofile/builtin/QualityProfileChangeEventServiceImplTest.java index 77b5db39783..f96821ea009 100644 --- a/server/sonar-webserver-pushapi/src/test/java/org/sonar/server/qualityprofile/builtin/QualityProfileChangeEventServiceImplTest.java +++ b/server/sonar-webserver-pushapi/src/test/java/org/sonar/server/qualityprofile/builtin/QualityProfileChangeEventServiceImplTest.java @@ -74,7 +74,7 @@ public class QualityProfileChangeEventServiceImplTest { .setRepositoryKey("repo") .setRuleKey("ruleKey") .setDescriptionFormat(RuleDto.Format.MARKDOWN) - .addRuleDescriptionSectionDto(createDefaultRuleDescriptionSection("<div>line1\nline2</div>")); + .addOrReplaceRuleDescriptionSectionDto(createDefaultRuleDescriptionSection("uuid", "<div>line1\nline2</div>")); db.rules().insert(rule1); ActiveRuleDto activeRuleDto = ActiveRuleDto.createFor(qualityProfileDto, rule1); |