aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js/apps/organizations
diff options
context:
space:
mode:
authorStas Vilchik <vilchiks@gmail.com>2018-10-05 14:35:06 +0200
committersonartech <sonartech@sonarsource.com>2018-10-10 09:23:02 +0200
commit705fd53a666017eb147d33f5d82d9a2ea85e59b3 (patch)
tree79635fb93bc4515b8a4b177f2f7b4d7646e8cdd3 /server/sonar-web/src/main/js/apps/organizations
parentf5a9eedb6aded3cc5cbf514419cf23c6e2165373 (diff)
downloadsonarqube-705fd53a666017eb147d33f5d82d9a2ea85e59b3.tar.gz
sonarqube-705fd53a666017eb147d33f5d82d9a2ea85e59b3.zip
SONARCLOUD-128 allow up to 300 characters for org name and key
Diffstat (limited to 'server/sonar-web/src/main/js/apps/organizations')
-rw-r--r--server/sonar-web/src/main/js/apps/organizations/components/OrganizationEdit.tsx2
-rw-r--r--server/sonar-web/src/main/js/apps/organizations/components/__tests__/__snapshots__/OrganizationEdit-test.tsx.snap6
2 files changed, 4 insertions, 4 deletions
diff --git a/server/sonar-web/src/main/js/apps/organizations/components/OrganizationEdit.tsx b/server/sonar-web/src/main/js/apps/organizations/components/OrganizationEdit.tsx
index fa0bb5ca7f2..28e99ee3a3e 100644
--- a/server/sonar-web/src/main/js/apps/organizations/components/OrganizationEdit.tsx
+++ b/server/sonar-web/src/main/js/apps/organizations/components/OrganizationEdit.tsx
@@ -119,7 +119,7 @@ export class OrganizationEdit extends React.PureComponent<Props, State> {
<input
disabled={this.state.loading}
id="organization-name"
- maxLength={64}
+ maxLength={300}
name="name"
onChange={e => this.setState({ name: e.target.value })}
required={true}
diff --git a/server/sonar-web/src/main/js/apps/organizations/components/__tests__/__snapshots__/OrganizationEdit-test.tsx.snap b/server/sonar-web/src/main/js/apps/organizations/components/__tests__/__snapshots__/OrganizationEdit-test.tsx.snap
index 054e0314163..63cf648f317 100644
--- a/server/sonar-web/src/main/js/apps/organizations/components/__tests__/__snapshots__/OrganizationEdit-test.tsx.snap
+++ b/server/sonar-web/src/main/js/apps/organizations/components/__tests__/__snapshots__/OrganizationEdit-test.tsx.snap
@@ -40,7 +40,7 @@ exports[`smoke test 1`] = `
<input
disabled={false}
id="organization-name"
- maxLength={64}
+ maxLength={300}
name="name"
onChange={[Function]}
required={true}
@@ -176,7 +176,7 @@ exports[`smoke test 2`] = `
<input
disabled={false}
id="organization-name"
- maxLength={64}
+ maxLength={300}
name="name"
onChange={[Function]}
required={true}
@@ -327,7 +327,7 @@ exports[`smoke test 3`] = `
<input
disabled={true}
id="organization-name"
- maxLength={64}
+ maxLength={300}
name="name"
onChange={[Function]}
required={true}