]> source.dussan.org Git - sonarqube.git/blob
2bf6f6b524407657dd519213721c319beb4d75ab
[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={200}
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={80}
34     onFieldChange={[MockFunction]}
35     propKey="workspace"
36     value="workspace"
37   />
38   <Alert
39     className="big-spacer-top"
40     variant="info"
41   >
42     <FormattedMessage
43       defaultMessage="settings.almintegration.bitbucketcloud.info"
44       id="settings.almintegration.bitbucketcloud.info"
45       values={
46         Object {
47           "doc_link": <Link
48             onlyActiveOnIndex={false}
49             style={Object {}}
50             target="_blank"
51             to="/documentation/analysis/bitbucket-cloud-integration/"
52           >
53             learn_more
54           </Link>,
55           "oauth": <a
56             href="https://support.atlassian.com/bitbucket-cloud/docs/use-oauth-on-bitbucket-cloud/"
57             rel="noopener noreferrer"
58             target="_blank"
59           >
60             settings.almintegration.bitbucketcloud.oauth
61           </a>,
62           "permission": <strong>
63             Pull Requests: Read
64           </strong>,
65         }
66       }
67     />
68   </Alert>
69   <AlmBindingDefinitionFormField
70     help="settings.almintegration.form.oauth_key.bitbucketcloud.help"
71     id="client_id.bitbucketcloud"
72     maxLength={80}
73     onFieldChange={[MockFunction]}
74     propKey="clientId"
75     value="client1"
76   />
77   <AlmBindingDefinitionFormField
78     help="settings.almintegration.form.oauth_secret.bitbucketcloud.help"
79     id="client_secret.bitbucketcloud"
80     isSecret={true}
81     maxLength={160}
82     onFieldChange={[MockFunction]}
83     overwriteOnly={true}
84     propKey="clientSecret"
85     value="**clientsecret**"
86   />
87 </Fragment>
88 `;