]> source.dussan.org Git - sonarqube.git/blob
7ead8a21fcc864c750bdd13382efaeed240e5ce8
[sonarqube.git] /
1 // Jest Snapshot v1, https://goo.gl/fbAQLP
2
3 exports[`should render correctly 1`] = `
4 <Fragment>
5   <AlmBindingDefinitionFormField
6     autoFocus={true}
7     help="settings.almintegration.form.name.bitbucketcloud.help"
8     id="name.bitbucket"
9     maxLength={100}
10     onFieldChange={[MockFunction]}
11     propKey="key"
12     value="key"
13   />
14   <AlmBindingDefinitionFormField
15     help={
16       <FormattedMessage
17         defaultMessage="settings.almintegration.form.workspace.bitbucketcloud.help"
18         id="settings.almintegration.form.workspace.bitbucketcloud.help"
19         values={
20           Object {
21             "example": <React.Fragment>
22               https://bitbucket.org/
23               <strong>
24                 {workspace}
25               </strong>
26               /{repository}
27             </React.Fragment>,
28           }
29         }
30       />
31     }
32     id="workspace.bitbucketcloud"
33     maxLength={2000}
34     onFieldChange={[MockFunction]}
35     propKey="workspace"
36     value="workspace"
37   />
38   <AlmBindingDefinitionFormField
39     help="settings.almintegration.form.oauth_key.bitbucketcloud.help"
40     id="client_id.bitbucketcloud"
41     onFieldChange={[MockFunction]}
42     propKey="clientId"
43     value="client1"
44   />
45   <AlmBindingDefinitionFormField
46     help="settings.almintegration.form.oauth_secret.bitbucketcloud.help"
47     id="client_secret.bitbucketcloud"
48     onFieldChange={[MockFunction]}
49     overwriteOnly={true}
50     propKey="clientSecret"
51     value="**clientsecret**"
52   />
53 </Fragment>
54 `;