diff options
author | Mathieu Suen <mathieu.suen@sonarsource.com> | 2022-08-08 11:14:18 +0200 |
---|---|---|
committer | sonartech <sonartech@sonarsource.com> | 2022-08-08 20:03:03 +0000 |
commit | acdcc1f5de185bc384590024f6bcb18bfb71b93c (patch) | |
tree | 97613cf7b2e4e5407b3b6d247ab18afeabacbd6c /server/sonar-web/src/main/js/components/SourceViewer | |
parent | 91bb6faaafe45bb8ee90ec91d39cb556e7da1f5b (diff) | |
download | sonarqube-acdcc1f5de185bc384590024f6bcb18bfb71b93c.tar.gz sonarqube-acdcc1f5de185bc384590024f6bcb18bfb71b93c.zip |
SONAR-17153 Clean fromHotspot from issue
Diffstat (limited to 'server/sonar-web/src/main/js/components/SourceViewer')
4 files changed, 1 insertions, 6 deletions
diff --git a/server/sonar-web/src/main/js/components/SourceViewer/__tests__/__snapshots__/SourceViewer-test.tsx.snap b/server/sonar-web/src/main/js/components/SourceViewer/__tests__/__snapshots__/SourceViewer-test.tsx.snap index ef8cdb4d1ba..64cd5ee5bbe 100644 --- a/server/sonar-web/src/main/js/components/SourceViewer/__tests__/__snapshots__/SourceViewer-test.tsx.snap +++ b/server/sonar-web/src/main/js/components/SourceViewer/__tests__/__snapshots__/SourceViewer-test.tsx.snap @@ -83,7 +83,6 @@ exports[`should render correctly 1`] = ` "componentUuid": "foo1234", "creationDate": "2017-03-01T09:36:01+0100", "flows": Array [], - "fromHotspot": false, "key": "AVsae-CQS-9G3txfbFN2", "line": 25, "message": "Reduce the number of conditional operators (4) used in the expression", @@ -117,7 +116,6 @@ exports[`should render correctly 1`] = ` "componentUuid": "foo1234", "creationDate": "2017-03-01T09:36:01+0100", "flows": Array [], - "fromHotspot": false, "key": "AVsae-CQS-9G3txfbFN2", "line": 25, "message": "Reduce the number of conditional operators (4) used in the expression", diff --git a/server/sonar-web/src/main/js/components/SourceViewer/components/__tests__/__snapshots__/LineIssueList-test.tsx.snap b/server/sonar-web/src/main/js/components/SourceViewer/components/__tests__/__snapshots__/LineIssueList-test.tsx.snap index 4a7b0a9eff5..358eecbf76e 100644 --- a/server/sonar-web/src/main/js/components/SourceViewer/components/__tests__/__snapshots__/LineIssueList-test.tsx.snap +++ b/server/sonar-web/src/main/js/components/SourceViewer/components/__tests__/__snapshots__/LineIssueList-test.tsx.snap @@ -23,7 +23,6 @@ exports[`should render issues 1`] = ` "componentUuid": "foo1234", "creationDate": "2017-03-01T09:36:01+0100", "flows": Array [], - "fromHotspot": false, "key": "issue", "line": 25, "message": "Reduce the number of conditional operators (4) used in the expression", diff --git a/server/sonar-web/src/main/js/components/SourceViewer/helpers/__tests__/__snapshots__/loadIssues-test.ts.snap b/server/sonar-web/src/main/js/components/SourceViewer/helpers/__tests__/__snapshots__/loadIssues-test.ts.snap index 4723e8ebc88..24e1b6a9eb1 100644 --- a/server/sonar-web/src/main/js/components/SourceViewer/helpers/__tests__/__snapshots__/loadIssues-test.ts.snap +++ b/server/sonar-web/src/main/js/components/SourceViewer/helpers/__tests__/__snapshots__/loadIssues-test.ts.snap @@ -24,7 +24,6 @@ Array [ "componentQualifier": "FIL", "creationDate": "2016-08-15T15:25:38+0200", "flows": Array [], - "fromHotspot": true, "hash": "78417dcee7ba927b7e7c9161e29e02b8", "key": "AWaqVGl3tut9VbnJvk6M", "line": 62, diff --git a/server/sonar-web/src/main/js/components/SourceViewer/helpers/__tests__/loadIssues-test.ts b/server/sonar-web/src/main/js/components/SourceViewer/helpers/__tests__/loadIssues-test.ts index a294f95006a..5fd555bbf6b 100644 --- a/server/sonar-web/src/main/js/components/SourceViewer/helpers/__tests__/loadIssues-test.ts +++ b/server/sonar-web/src/main/js/components/SourceViewer/helpers/__tests__/loadIssues-test.ts @@ -45,8 +45,7 @@ jest.mock('../../../../api/issues', () => ({ comments: [], creationDate: '2016-08-15T15:25:38+0200', updateDate: '2018-10-25T10:23:08+0200', - type: 'SECURITY_HOTSPOT', - fromHotspot: true + type: 'SECURITY_HOTSPOT' } ], components: [ |