]> source.dussan.org Git - sonarqube.git/blob
7e777c5a4de22b4be59af3b4e5af384f9f051d2d
[sonarqube.git] /
1 // Jest Snapshot v1, https://goo.gl/fbAQLP
2
3 exports[`should display correctly 1`] = `
4 <Modal
5   contentLabel="system.system_upgrade"
6   onRequestClose={[MockFunction]}
7 >
8   <div
9     className="modal-head"
10   >
11     <h2>
12       system.system_upgrade
13     </h2>
14   </div>
15   <div
16     className="modal-body"
17   >
18     <SystemUpgradeItem
19       edition="community"
20       key="6.3"
21       systemUpgrades={
22         Array [
23           Object {
24             "changeLogUrl": "changelogurl",
25             "description": "Version 6.4 description",
26             "downloadUrl": "downloadurl",
27             "plugins": Object {},
28             "releaseDate": "2017-06-02",
29             "version": "6.4",
30           },
31           Object {
32             "changeLogUrl": "changelogurl",
33             "description": "Version 6.3 description",
34             "downloadUrl": "downloadurl",
35             "plugins": Object {},
36             "releaseDate": "2017-05-02",
37             "version": "6.3",
38           },
39         ]
40       }
41       type="system.latest_version"
42     />
43     <SystemUpgradeItem
44       edition="community"
45       key="5.6.5"
46       systemUpgrades={
47         Array [
48           Object {
49             "changeLogUrl": "changelogurl",
50             "description": "Version 5.6.7 description",
51             "downloadUrl": "downloadurl",
52             "plugins": Object {},
53             "releaseDate": "2017-03-01",
54             "version": "5.6.7",
55           },
56           Object {
57             "changeLogUrl": "changelogurl",
58             "description": "Version 5.6.6 description",
59             "downloadUrl": "downloadurl",
60             "plugins": Object {},
61             "releaseDate": "2017-04-02",
62             "version": "5.6.6",
63           },
64           Object {
65             "changeLogUrl": "changelogurl",
66             "description": "Version 5.6.5 description",
67             "downloadUrl": "downloadurl",
68             "plugins": Object {},
69             "releaseDate": "2017-03-01",
70             "version": "5.6.5",
71           },
72         ]
73       }
74       type="system.lts_version"
75     />
76   </div>
77   <div
78     className="modal-foot"
79   >
80     <a
81       className="pull-left"
82       href="https://www.sonarqube.org/downloads/?referrer=sonarqube"
83       rel="noopener noreferrer"
84       target="_blank"
85     >
86       system.see_sonarqube_downloads
87     </a>
88     <ResetButtonLink
89       onClick={[MockFunction]}
90     >
91       cancel
92     </ResetButtonLink>
93   </div>
94 </Modal>
95 `;