aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web
diff options
context:
space:
mode:
authorJeremy Davis <jeremy.davis@sonarsource.com>2019-10-29 09:53:22 +0100
committersonartech <sonartech@sonarsource.com>2019-11-06 10:04:30 +0100
commit2c1855cfa890c5770919c5b517a24a10fed4e742 (patch)
tree34bad5180bb8d0c9d182a8d93cee1310a1bc4097 /server/sonar-web
parenteb447eb3baaecd7ab7513a16eadc3bec75fdde95 (diff)
downloadsonarqube-2c1855cfa890c5770919c5b517a24a10fed4e742.tar.gz
sonarqube-2c1855cfa890c5770919c5b517a24a10fed4e742.zip
Refactor for duplications
Diffstat (limited to 'server/sonar-web')
-rw-r--r--server/sonar-web/src/main/js/apps/settings/components/pullRequestDecoration/BitbucketFormModal.tsx2
-rw-r--r--server/sonar-web/src/main/js/apps/settings/components/pullRequestDecoration/__tests__/__snapshots__/BitbucketFormModal-test.tsx.snap4
2 files changed, 3 insertions, 3 deletions
diff --git a/server/sonar-web/src/main/js/apps/settings/components/pullRequestDecoration/BitbucketFormModal.tsx b/server/sonar-web/src/main/js/apps/settings/components/pullRequestDecoration/BitbucketFormModal.tsx
index 59058c93407..93d20223304 100644
--- a/server/sonar-web/src/main/js/apps/settings/components/pullRequestDecoration/BitbucketFormModal.tsx
+++ b/server/sonar-web/src/main/js/apps/settings/components/pullRequestDecoration/BitbucketFormModal.tsx
@@ -35,7 +35,7 @@ export default function BitbucketFormModal(props: BitbucketFormModalProps) {
<>
<AlmDefinitionFormField
autoFocus={true}
- help={translate('settings.pr_decoration.form.url.bitbucket.name.help')}
+ help={translate('settings.pr_decoration.form.bitbucket.name.help')}
id="bitbucket.name"
maxLength={100}
onFieldChange={onFieldChange}
diff --git a/server/sonar-web/src/main/js/apps/settings/components/pullRequestDecoration/__tests__/__snapshots__/BitbucketFormModal-test.tsx.snap b/server/sonar-web/src/main/js/apps/settings/components/pullRequestDecoration/__tests__/__snapshots__/BitbucketFormModal-test.tsx.snap
index 9b90ffbbaba..96f0ec11b74 100644
--- a/server/sonar-web/src/main/js/apps/settings/components/pullRequestDecoration/__tests__/__snapshots__/BitbucketFormModal-test.tsx.snap
+++ b/server/sonar-web/src/main/js/apps/settings/components/pullRequestDecoration/__tests__/__snapshots__/BitbucketFormModal-test.tsx.snap
@@ -4,7 +4,7 @@ exports[`should render correctly 1`] = `
<Fragment>
<AlmDefinitionFormField
autoFocus={true}
- help="settings.pr_decoration.form.url.bitbucket.name.help"
+ help="settings.pr_decoration.form.bitbucket.name.help"
id="bitbucket.name"
maxLength={100}
onFieldChange={[MockFunction]}
@@ -43,7 +43,7 @@ exports[`should render correctly 2`] = `
<Fragment>
<AlmDefinitionFormField
autoFocus={true}
- help="settings.pr_decoration.form.url.bitbucket.name.help"
+ help="settings.pr_decoration.form.bitbucket.name.help"
id="bitbucket.name"
maxLength={100}
onFieldChange={[MockFunction]}