]> source.dussan.org Git - sonarqube.git/blob
e19b6f4af80f437bd0bd0c6dcb8cf71e87831d79
[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=""
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=""
31   />
32   <AlmBindingDefinitionFormField
33     id="personal_access_token"
34     isTextArea={true}
35     onFieldChange={[MockFunction]}
36     overwriteOnly={false}
37     propKey="personalAccessToken"
38     value=""
39   />
40 </Fragment>
41 `;
42
43 exports[`should render correctly 2`] = `
44 <Fragment>
45   <AlmBindingDefinitionFormField
46     autoFocus={true}
47     help="settings.almintegration.form.name.bitbucket.help"
48     id="name.bitbucket"
49     maxLength={100}
50     onFieldChange={[MockFunction]}
51     propKey="key"
52     value="key"
53   />
54   <AlmBindingDefinitionFormField
55     help={
56       <FormattedMessage
57         defaultMessage="settings.almintegration.form.url.bitbucket.help"
58         id="settings.almintegration.form.url.bitbucket.help"
59         values={
60           Object {
61             "example": "https://bitbucket-server.your-company.com",
62           }
63         }
64       />
65     }
66     id="url.bitbucket"
67     maxLength={2000}
68     onFieldChange={[MockFunction]}
69     propKey="url"
70     value="http://bbs.enterprise.com"
71   />
72   <AlmBindingDefinitionFormField
73     id="personal_access_token"
74     isTextArea={true}
75     onFieldChange={[MockFunction]}
76     overwriteOnly={true}
77     propKey="personalAccessToken"
78     value="asdf1234"
79   />
80 </Fragment>
81 `;