diff options
author | Jeremy Davis <jeremy.davis@sonarsource.com> | 2019-10-29 09:53:22 +0100 |
---|---|---|
committer | sonartech <sonartech@sonarsource.com> | 2019-11-06 10:04:30 +0100 |
commit | 2c1855cfa890c5770919c5b517a24a10fed4e742 (patch) | |
tree | 34bad5180bb8d0c9d182a8d93cee1310a1bc4097 /server/sonar-web | |
parent | eb447eb3baaecd7ab7513a16eadc3bec75fdde95 (diff) | |
download | sonarqube-2c1855cfa890c5770919c5b517a24a10fed4e742.tar.gz sonarqube-2c1855cfa890c5770919c5b517a24a10fed4e742.zip |
Refactor for duplications
Diffstat (limited to 'server/sonar-web')
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]} |