aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js/components/SourceViewer
diff options
context:
space:
mode:
authorJeremy Davis <jeremy.davis@sonarsource.com>2020-12-14 14:57:33 +0100
committersonartech <sonartech@sonarsource.com>2020-12-22 20:09:36 +0000
commit4d95e4f93fc695ef1eb492e0d823b1d76abb31e8 (patch)
tree0c093ca502437508d39646bf14f3503223fb4285 /server/sonar-web/src/main/js/components/SourceViewer
parent9dc6361a06ccec4f33c6ac4691cb7739a83defb3 (diff)
downloadsonarqube-4d95e4f93fc695ef1eb492e0d823b1d76abb31e8.tar.gz
sonarqube-4d95e4f93fc695ef1eb492e0d823b1d76abb31e8.zip
SONAR-13999 Remove orgs from issues
Diffstat (limited to 'server/sonar-web/src/main/js/components/SourceViewer')
-rw-r--r--server/sonar-web/src/main/js/components/SourceViewer/__tests__/__snapshots__/SourceViewerBase-test.tsx.snap4
-rw-r--r--server/sonar-web/src/main/js/components/SourceViewer/components/__tests__/LineIssuesList-test.tsx2
-rw-r--r--server/sonar-web/src/main/js/components/SourceViewer/components/__tests__/__snapshots__/Line-test.tsx.snap28
-rw-r--r--server/sonar-web/src/main/js/components/SourceViewer/components/__tests__/__snapshots__/LineCode-test.tsx.snap4
-rw-r--r--server/sonar-web/src/main/js/components/SourceViewer/components/__tests__/__snapshots__/LineIssuesList-test.tsx.snap4
5 files changed, 0 insertions, 42 deletions
diff --git a/server/sonar-web/src/main/js/components/SourceViewer/__tests__/__snapshots__/SourceViewerBase-test.tsx.snap b/server/sonar-web/src/main/js/components/SourceViewer/__tests__/__snapshots__/SourceViewerBase-test.tsx.snap
index 6aa4a3556eb..6c3cbd2af18 100644
--- a/server/sonar-web/src/main/js/components/SourceViewer/__tests__/__snapshots__/SourceViewerBase-test.tsx.snap
+++ b/server/sonar-web/src/main/js/components/SourceViewer/__tests__/__snapshots__/SourceViewerBase-test.tsx.snap
@@ -84,11 +84,9 @@ exports[`should render correctly 1`] = `
"key": "AVsae-CQS-9G3txfbFN2",
"line": 25,
"message": "Reduce the number of conditional operators (4) used in the expression",
- "organization": "myorg",
"project": "myproject",
"projectKey": "foo",
"projectName": "Foo",
- "projectOrganization": "org",
"rule": "javascript:S1067",
"ruleName": "foo",
"secondaryLocations": Array [],
@@ -120,11 +118,9 @@ exports[`should render correctly 1`] = `
"key": "AVsae-CQS-9G3txfbFN2",
"line": 25,
"message": "Reduce the number of conditional operators (4) used in the expression",
- "organization": "myorg",
"project": "myproject",
"projectKey": "foo",
"projectName": "Foo",
- "projectOrganization": "org",
"rule": "javascript:S1067",
"ruleName": "foo",
"secondaryLocations": Array [],
diff --git a/server/sonar-web/src/main/js/components/SourceViewer/components/__tests__/LineIssuesList-test.tsx b/server/sonar-web/src/main/js/components/SourceViewer/components/__tests__/LineIssuesList-test.tsx
index 54255e0bef2..f204e58dfbf 100644
--- a/server/sonar-web/src/main/js/components/SourceViewer/components/__tests__/LineIssuesList-test.tsx
+++ b/server/sonar-web/src/main/js/components/SourceViewer/components/__tests__/LineIssuesList-test.tsx
@@ -32,10 +32,8 @@ const issueBase: T.Issue = {
flows: [],
fromHotspot: false,
message: '',
- organization: '',
project: '',
projectName: '',
- projectOrganization: '',
projectKey: '',
rule: '',
ruleName: '',
diff --git a/server/sonar-web/src/main/js/components/SourceViewer/components/__tests__/__snapshots__/Line-test.tsx.snap b/server/sonar-web/src/main/js/components/SourceViewer/components/__tests__/__snapshots__/Line-test.tsx.snap
index 864377427da..ec5a30fd9ec 100644
--- a/server/sonar-web/src/main/js/components/SourceViewer/components/__tests__/__snapshots__/Line-test.tsx.snap
+++ b/server/sonar-web/src/main/js/components/SourceViewer/components/__tests__/__snapshots__/Line-test.tsx.snap
@@ -65,11 +65,9 @@ exports[`should render correctly 1`] = `
"key": "AVsae-CQS-9G3txfbFN2",
"line": 25,
"message": "Reduce the number of conditional operators (4) used in the expression",
- "organization": "myorg",
"project": "myproject",
"projectKey": "foo",
"projectName": "Foo",
- "projectOrganization": "org",
"rule": "javascript:S1067",
"ruleName": "foo",
"secondaryLocations": Array [],
@@ -96,11 +94,9 @@ exports[`should render correctly 1`] = `
"key": "AVsae-CQS-9G3txfbFN2",
"line": 25,
"message": "Reduce the number of conditional operators (4) used in the expression",
- "organization": "myorg",
"project": "myproject",
"projectKey": "foo",
"projectName": "Foo",
- "projectOrganization": "org",
"rule": "javascript:S1067",
"ruleName": "foo",
"secondaryLocations": Array [],
@@ -207,11 +203,9 @@ exports[`should render correctly for last, new, and highlighted lines 1`] = `
"key": "AVsae-CQS-9G3txfbFN2",
"line": 25,
"message": "Reduce the number of conditional operators (4) used in the expression",
- "organization": "myorg",
"project": "myproject",
"projectKey": "foo",
"projectName": "Foo",
- "projectOrganization": "org",
"rule": "javascript:S1067",
"ruleName": "foo",
"secondaryLocations": Array [],
@@ -238,11 +232,9 @@ exports[`should render correctly for last, new, and highlighted lines 1`] = `
"key": "AVsae-CQS-9G3txfbFN2",
"line": 25,
"message": "Reduce the number of conditional operators (4) used in the expression",
- "organization": "myorg",
"project": "myproject",
"projectKey": "foo",
"projectName": "Foo",
- "projectOrganization": "org",
"rule": "javascript:S1067",
"ruleName": "foo",
"secondaryLocations": Array [],
@@ -364,11 +356,9 @@ exports[`should render correctly with coverage 1`] = `
"key": "AVsae-CQS-9G3txfbFN2",
"line": 25,
"message": "Reduce the number of conditional operators (4) used in the expression",
- "organization": "myorg",
"project": "myproject",
"projectKey": "foo",
"projectName": "Foo",
- "projectOrganization": "org",
"rule": "javascript:S1067",
"ruleName": "foo",
"secondaryLocations": Array [],
@@ -395,11 +385,9 @@ exports[`should render correctly with coverage 1`] = `
"key": "AVsae-CQS-9G3txfbFN2",
"line": 25,
"message": "Reduce the number of conditional operators (4) used in the expression",
- "organization": "myorg",
"project": "myproject",
"projectKey": "foo",
"projectName": "Foo",
- "projectOrganization": "org",
"rule": "javascript:S1067",
"ruleName": "foo",
"secondaryLocations": Array [],
@@ -567,11 +555,9 @@ exports[`should render correctly with duplication information 1`] = `
"key": "AVsae-CQS-9G3txfbFN2",
"line": 25,
"message": "Reduce the number of conditional operators (4) used in the expression",
- "organization": "myorg",
"project": "myproject",
"projectKey": "foo",
"projectName": "Foo",
- "projectOrganization": "org",
"rule": "javascript:S1067",
"ruleName": "foo",
"secondaryLocations": Array [],
@@ -598,11 +584,9 @@ exports[`should render correctly with duplication information 1`] = `
"key": "AVsae-CQS-9G3txfbFN2",
"line": 25,
"message": "Reduce the number of conditional operators (4) used in the expression",
- "organization": "myorg",
"project": "myproject",
"projectKey": "foo",
"projectName": "Foo",
- "projectOrganization": "org",
"rule": "javascript:S1067",
"ruleName": "foo",
"secondaryLocations": Array [],
@@ -694,11 +678,9 @@ exports[`should render correctly with issues info 1`] = `
"key": "AVsae-CQS-9G3txfbFN2",
"line": 25,
"message": "Reduce the number of conditional operators (4) used in the expression",
- "organization": "myorg",
"project": "myproject",
"projectKey": "foo",
"projectName": "Foo",
- "projectOrganization": "org",
"rule": "javascript:S1067",
"ruleName": "foo",
"secondaryLocations": Array [],
@@ -725,11 +707,9 @@ exports[`should render correctly with issues info 1`] = `
"key": "AVsae-CQS-9G3txfbFN2",
"line": 25,
"message": "Reduce the number of conditional operators (4) used in the expression",
- "organization": "myorg",
"project": "myproject",
"projectKey": "foo",
"projectName": "Foo",
- "projectOrganization": "org",
"rule": "javascript:S1067",
"ruleName": "foo",
"secondaryLocations": Array [],
@@ -789,11 +769,9 @@ exports[`should render correctly with issues info 1`] = `
"key": "AVsae-CQS-9G3txfbFN2",
"line": 25,
"message": "Reduce the number of conditional operators (4) used in the expression",
- "organization": "myorg",
"project": "myproject",
"projectKey": "foo",
"projectName": "Foo",
- "projectOrganization": "org",
"rule": "javascript:S1067",
"ruleName": "foo",
"secondaryLocations": Array [],
@@ -820,11 +798,9 @@ exports[`should render correctly with issues info 1`] = `
"key": "AVsae-CQS-9G3txfbFN2",
"line": 25,
"message": "Reduce the number of conditional operators (4) used in the expression",
- "organization": "myorg",
"project": "myproject",
"projectKey": "foo",
"projectName": "Foo",
- "projectOrganization": "org",
"rule": "javascript:S1067",
"ruleName": "foo",
"secondaryLocations": Array [],
@@ -916,11 +892,9 @@ exports[`should render correctly: no SCM 1`] = `
"key": "AVsae-CQS-9G3txfbFN2",
"line": 25,
"message": "Reduce the number of conditional operators (4) used in the expression",
- "organization": "myorg",
"project": "myproject",
"projectKey": "foo",
"projectName": "Foo",
- "projectOrganization": "org",
"rule": "javascript:S1067",
"ruleName": "foo",
"secondaryLocations": Array [],
@@ -947,11 +921,9 @@ exports[`should render correctly: no SCM 1`] = `
"key": "AVsae-CQS-9G3txfbFN2",
"line": 25,
"message": "Reduce the number of conditional operators (4) used in the expression",
- "organization": "myorg",
"project": "myproject",
"projectKey": "foo",
"projectName": "Foo",
- "projectOrganization": "org",
"rule": "javascript:S1067",
"ruleName": "foo",
"secondaryLocations": Array [],
diff --git a/server/sonar-web/src/main/js/components/SourceViewer/components/__tests__/__snapshots__/LineCode-test.tsx.snap b/server/sonar-web/src/main/js/components/SourceViewer/components/__tests__/__snapshots__/LineCode-test.tsx.snap
index fa3ee7c6dba..13141eafff8 100644
--- a/server/sonar-web/src/main/js/components/SourceViewer/components/__tests__/__snapshots__/LineCode-test.tsx.snap
+++ b/server/sonar-web/src/main/js/components/SourceViewer/components/__tests__/__snapshots__/LineCode-test.tsx.snap
@@ -64,11 +64,9 @@ exports[`render code 1`] = `
"key": "issue-1",
"line": 25,
"message": "Reduce the number of conditional operators (4) used in the expression",
- "organization": "myorg",
"project": "myproject",
"projectKey": "foo",
"projectName": "Foo",
- "projectOrganization": "org",
"rule": "javascript:S1067",
"ruleName": "foo",
"secondaryLocations": Array [],
@@ -95,11 +93,9 @@ exports[`render code 1`] = `
"key": "issue-2",
"line": 25,
"message": "Reduce the number of conditional operators (4) used in the expression",
- "organization": "myorg",
"project": "myproject",
"projectKey": "foo",
"projectName": "Foo",
- "projectOrganization": "org",
"rule": "javascript:S1067",
"ruleName": "foo",
"secondaryLocations": Array [],
diff --git a/server/sonar-web/src/main/js/components/SourceViewer/components/__tests__/__snapshots__/LineIssuesList-test.tsx.snap b/server/sonar-web/src/main/js/components/SourceViewer/components/__tests__/__snapshots__/LineIssuesList-test.tsx.snap
index 457c4cad762..a5ed57fdcf2 100644
--- a/server/sonar-web/src/main/js/components/SourceViewer/components/__tests__/__snapshots__/LineIssuesList-test.tsx.snap
+++ b/server/sonar-web/src/main/js/components/SourceViewer/components/__tests__/__snapshots__/LineIssuesList-test.tsx.snap
@@ -17,11 +17,9 @@ exports[`render issues list 1`] = `
"fromHotspot": false,
"key": "foo",
"message": "",
- "organization": "",
"project": "",
"projectKey": "",
"projectName": "",
- "projectOrganization": "",
"rule": "",
"ruleName": "",
"secondaryLocations": Array [],
@@ -50,11 +48,9 @@ exports[`render issues list 1`] = `
"fromHotspot": false,
"key": "bar",
"message": "",
- "organization": "",
"project": "",
"projectKey": "",
"projectName": "",
- "projectOrganization": "",
"rule": "",
"ruleName": "",
"secondaryLocations": Array [],