diff options
Diffstat (limited to 'server/sonar-web/src/main/js/helpers')
-rw-r--r-- | server/sonar-web/src/main/js/helpers/doc-links.ts | 1 | ||||
-rw-r--r-- | server/sonar-web/src/main/js/helpers/testMocks.ts | 3 |
2 files changed, 4 insertions, 0 deletions
diff --git a/server/sonar-web/src/main/js/helpers/doc-links.ts b/server/sonar-web/src/main/js/helpers/doc-links.ts index 8d5efa930a0..cce7a923191 100644 --- a/server/sonar-web/src/main/js/helpers/doc-links.ts +++ b/server/sonar-web/src/main/js/helpers/doc-links.ts @@ -74,6 +74,7 @@ export enum DocLink { PullRequestAnalysis = '/analyzing-source-code/pull-request-analysis/introduction/', QualityGates = '/instance-administration/analysis-functions/quality-gates/', Root = '/', + RuleSeverity = '/instance-administration/analysis-functions/quality-profiles/#rule-severity', RulesOverview = '/user-guide/rules/overview', SecurityHotspots = '/user-guide/security-hotspots/', SecurityReports = '/user-guide/viewing-reports/security-reports/', diff --git a/server/sonar-web/src/main/js/helpers/testMocks.ts b/server/sonar-web/src/main/js/helpers/testMocks.ts index 7050f6de7e6..2408be0427c 100644 --- a/server/sonar-web/src/main/js/helpers/testMocks.ts +++ b/server/sonar-web/src/main/js/helpers/testMocks.ts @@ -641,6 +641,9 @@ export function mockRuleActivation(overrides: Partial<RuleActivation> = {}): Rul qProfile: 'baz', severity: 'MAJOR', prioritizedRule: false, + impacts: [ + { softwareQuality: SoftwareQuality.Maintainability, severity: SoftwareImpactSeverity.Medium }, + ], ...overrides, }; } |