]> source.dussan.org Git - sonarqube.git/blob
c937fdb2eb8be069c0ba6b79dbf3987162d47171
[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={200}
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           {
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           {
39             "doc_link": <withAppStateContext(DocLink)
40               to="/devops-platform-integration/bitbucket-integration/bitbucket-server-integration/"
41             >
42               learn_more
43             </withAppStateContext(DocLink)>,
44             "pat": <ForwardRef(Link)
45               target="_blank"
46               to="https://confluence.atlassian.com/bitbucketserver0515/personal-access-tokens-961275199.html"
47             >
48               settings.almintegration.form.personal_access_token.bitbucket.help.url
49             </ForwardRef(Link)>,
50             "permission": <strong>
51               Read
52             </strong>,
53           }
54         }
55       />
56     }
57     id="personal_access_token"
58     isSecret={true}
59     isTextArea={true}
60     maxLength={2000}
61     onFieldChange={[MockFunction]}
62     overwriteOnly={true}
63     propKey="personalAccessToken"
64     value="asdf1234"
65   />
66 </Fragment>
67 `;