aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js/helpers/testMocks.ts
diff options
context:
space:
mode:
Diffstat (limited to 'server/sonar-web/src/main/js/helpers/testMocks.ts')
-rw-r--r--server/sonar-web/src/main/js/helpers/testMocks.ts7
1 files changed, 7 insertions, 0 deletions
diff --git a/server/sonar-web/src/main/js/helpers/testMocks.ts b/server/sonar-web/src/main/js/helpers/testMocks.ts
index 437ed0de99e..4cc1426456a 100644
--- a/server/sonar-web/src/main/js/helpers/testMocks.ts
+++ b/server/sonar-web/src/main/js/helpers/testMocks.ts
@@ -47,6 +47,7 @@ import {
ProfileInheritanceDetails,
Rule,
RuleActivation,
+ RuleDescriptionSections,
RuleDetails,
RuleParameter,
SnippetsByComponent,
@@ -603,6 +604,12 @@ export function mockRuleDetails(overrides: Partial<RuleDetails> = {}): RuleDetai
repo: 'squid',
name: '".equals()" should not be used to test the values of "Atomic" classes',
createdAt: '2014-12-16T17:26:54+0100',
+ descriptionSections: [
+ {
+ key: RuleDescriptionSections.ROOT_CAUSE,
+ content: '<b>Why<b/> Because'
+ }
+ ],
htmlDesc: '',
mdDesc: '',
severity: 'MAJOR',