]> source.dussan.org Git - sonarqube.git/blob
168036c2123585ab95acaae1bd59196014d54a9b
[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.bitbucket.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.url.bitbucket.help"
18         id="settings.almintegration.form.url.bitbucket.help"
19         values={
20           Object {
21             "example": "https://bitbucket-server.your-company.com",
22           }
23         }
24       />
25     }
26     id="url.bitbucket"
27     maxLength={2000}
28     onFieldChange={[MockFunction]}
29     propKey="url"
30     value="http://bbs.enterprise.com"
31   />
32   <AlmBindingDefinitionFormField
33     help={
34       <FormattedMessage
35         defaultMessage="settings.almintegration.form.personal_access_token.bitbucket.help"
36         id="settings.almintegration.form.personal_access_token.bitbucket.help"
37         values={
38           Object {
39             "doc_link": <Link
40               onlyActiveOnIndex={false}
41               style={Object {}}
42               target="_blank"
43               to="/documentation/analysis/bitbucket-integration/"
44             >
45               learn_more
46             </Link>,
47             "pat": <a
48               href="https://confluence.atlassian.com/bitbucketserver0515/personal-access-tokens-961275199.html"
49               rel="noopener noreferrer"
50               target="_blank"
51             >
52               settings.almintegration.form.personal_access_token.bitbucket.help.url
53             </a>,
54             "permission": <strong>
55               Read
56             </strong>,
57           }
58         }
59       />
60     }
61     id="personal_access_token"
62     isSecret={true}
63     isTextArea={true}
64     maxLength={2000}
65     onFieldChange={[MockFunction]}
66     overwriteOnly={true}
67     propKey="personalAccessToken"
68     value="asdf1234"
69   />
70 </Fragment>
71 `;