aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js/apps/quality-profiles/compare
diff options
context:
space:
mode:
Diffstat (limited to 'server/sonar-web/src/main/js/apps/quality-profiles/compare')
-rw-r--r--server/sonar-web/src/main/js/apps/quality-profiles/compare/ComparisonResults.js12
-rw-r--r--server/sonar-web/src/main/js/apps/quality-profiles/compare/__tests__/ComparisonForm-test.js2
-rw-r--r--server/sonar-web/src/main/js/apps/quality-profiles/compare/__tests__/ComparisonResults-test.js4
3 files changed, 9 insertions, 9 deletions
diff --git a/server/sonar-web/src/main/js/apps/quality-profiles/compare/ComparisonResults.js b/server/sonar-web/src/main/js/apps/quality-profiles/compare/ComparisonResults.js
index a4e4eb88881..9a147f55b9b 100644
--- a/server/sonar-web/src/main/js/apps/quality-profiles/compare/ComparisonResults.js
+++ b/server/sonar-web/src/main/js/apps/quality-profiles/compare/ComparisonResults.js
@@ -73,8 +73,8 @@ export default class ComparisonResults extends React.Component {
<td>
<h6>
{translateWithParameters(
- 'quality_profiles.x_rules_only_in',
- this.props.inLeft.length
+ 'quality_profiles.x_rules_only_in',
+ this.props.inLeft.length
)}
{' '}
{this.props.left.name}
@@ -102,8 +102,8 @@ export default class ComparisonResults extends React.Component {
<td>
<h6>
{translateWithParameters(
- 'quality_profiles.x_rules_only_in',
- this.props.inRight.length
+ 'quality_profiles.x_rules_only_in',
+ this.props.inRight.length
)}
{' '}
{this.props.right.name}
@@ -130,8 +130,8 @@ export default class ComparisonResults extends React.Component {
<td colSpan="2" className="text-center">
<h6>
{translateWithParameters(
- 'quality_profiles.x_rules_have_different_configuration',
- this.props.modified.length
+ 'quality_profiles.x_rules_have_different_configuration',
+ this.props.modified.length
)}
</h6>
</td>
diff --git a/server/sonar-web/src/main/js/apps/quality-profiles/compare/__tests__/ComparisonForm-test.js b/server/sonar-web/src/main/js/apps/quality-profiles/compare/__tests__/ComparisonForm-test.js
index 087b80f9e78..b4fbaa0d9d0 100644
--- a/server/sonar-web/src/main/js/apps/quality-profiles/compare/__tests__/ComparisonForm-test.js
+++ b/server/sonar-web/src/main/js/apps/quality-profiles/compare/__tests__/ComparisonForm-test.js
@@ -32,7 +32,7 @@ it('should render Select with right options', () => {
];
const output = shallow(
- <ComparisonForm
+ <ComparisonForm
withKey="another"
profile={profile}
profiles={profiles}
diff --git a/server/sonar-web/src/main/js/apps/quality-profiles/compare/__tests__/ComparisonResults-test.js b/server/sonar-web/src/main/js/apps/quality-profiles/compare/__tests__/ComparisonResults-test.js
index 8cd5df5f218..e76bed9d67a 100644
--- a/server/sonar-web/src/main/js/apps/quality-profiles/compare/__tests__/ComparisonResults-test.js
+++ b/server/sonar-web/src/main/js/apps/quality-profiles/compare/__tests__/ComparisonResults-test.js
@@ -26,7 +26,7 @@ import SeverityIcon from '../../../../components/shared/severity-icon';
it('should render ComparisonEmpty', () => {
const output = shallow(
- <ComparisonResults
+ <ComparisonResults
left={{ name: 'left' }}
right={{ name: 'right' }}
inLeft={[]}
@@ -60,7 +60,7 @@ it('should compare', () => {
];
const output = shallow(
- <ComparisonResults
+ <ComparisonResults
left={{ name: 'left' }}
right={{ name: 'right' }}
inLeft={inLeft}