]> source.dussan.org Git - sonarqube.git/blob
30fcabe49124b2adaff2186298b7dde5b00e393e
[sonarqube.git] /
1 // Jest Snapshot v1, https://goo.gl/fbAQLP
2
3 exports[`renders a different message if the license is valid 1`] = `
4 <Alert
5   display="banner"
6   variant="error"
7 >
8   component_navigation.status.last_blocked_due_to_bad_license_X.qualifier.TRK
9 </Alert>
10 `;
11
12 exports[`renders background task license info correctly 1`] = `
13 <Alert
14   display="banner"
15   variant="error"
16 >
17   <span
18     className="little-spacer-right"
19   >
20     Foo
21   </span>
22   <Link
23     to="/admin/extension/license/app"
24   >
25     license.component_navigation.button.LICENSING
26     .
27   </Link>
28 </Alert>
29 `;
30
31 exports[`renders background task license info correctly 2`] = `
32 <Alert
33   display="banner"
34   variant="error"
35 >
36   <span
37     className="little-spacer-right"
38   >
39     Foo
40   </span>
41   please_contact_administrator
42 </Alert>
43 `;
44
45 exports[`renders correctly for LICENSING_LOC error 1`] = `
46 <Alert
47   display="banner"
48   variant="error"
49 >
50   <span
51     className="little-spacer-right"
52   >
53     Foo
54   </span>
55   <Link
56     to="/admin/extension/license/app"
57   >
58     license.component_navigation.button.LICENSING_LOC
59     .
60   </Link>
61 </Alert>
62 `;