]> source.dussan.org Git - sonarqube.git/blob
bd5e9d5635ce1763332f555faddbf86cb48865eb
[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   <Alert
39     className="big-spacer-top big-spacer-right"
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     onFieldChange={[MockFunction]}
73     propKey="clientId"
74     value="client1"
75   />
76   <AlmBindingDefinitionFormField
77     help="settings.almintegration.form.oauth_secret.bitbucketcloud.help"
78     id="client_secret.bitbucketcloud"
79     onFieldChange={[MockFunction]}
80     overwriteOnly={true}
81     propKey="clientSecret"
82     value="**clientsecret**"
83   />
84 </Fragment>
85 `;