]> source.dussan.org Git - sonarqube.git/blob
9ab3884c99bf0c6e3f59fa44c66ea3e580266856
[sonarqube.git] /
1 // Jest Snapshot v1, https://goo.gl/fbAQLP
2
3 exports[`renders with edit permission 1`] = `
4 <div>
5   <div
6     className="quality-profile-grid"
7   >
8     <div
9       className="quality-profile-grid-left"
10     >
11       <ProfileRules
12         exporters={Array []}
13         organization="org"
14         profile={
15           Object {
16             "actions": Object {
17               "edit": true,
18             },
19           }
20         }
21         profiles={Array []}
22         updateProfiles={[MockFunction]}
23       />
24       <ProfileExporters
25         exporters={Array []}
26         organization="org"
27         profile={
28           Object {
29             "actions": Object {
30               "edit": true,
31             },
32           }
33         }
34         profiles={Array []}
35         updateProfiles={[MockFunction]}
36       />
37       <ProfilePermissions
38         organization="org"
39         profile={
40           Object {
41             "actions": Object {
42               "edit": true,
43             },
44           }
45         }
46       />
47     </div>
48     <div
49       className="quality-profile-grid-right"
50     >
51       <ProfileInheritance
52         exporters={Array []}
53         organization="org"
54         profile={
55           Object {
56             "actions": Object {
57               "edit": true,
58             },
59           }
60         }
61         profiles={Array []}
62         updateProfiles={[MockFunction]}
63       />
64       <ProfileProjects
65         organization="org"
66         profile={
67           Object {
68             "actions": Object {
69               "edit": true,
70             },
71           }
72         }
73         updateProfiles={[MockFunction]}
74       />
75     </div>
76   </div>
77 </div>
78 `;
79
80 exports[`renders without permissions 1`] = `
81 <div>
82   <div
83     className="quality-profile-grid"
84   >
85     <div
86       className="quality-profile-grid-left"
87     >
88       <ProfileRules
89         exporters={Array []}
90         organization="org"
91         profile={Object {}}
92         profiles={Array []}
93         updateProfiles={[MockFunction]}
94       />
95       <ProfileExporters
96         exporters={Array []}
97         organization="org"
98         profile={Object {}}
99         profiles={Array []}
100         updateProfiles={[MockFunction]}
101       />
102     </div>
103     <div
104       className="quality-profile-grid-right"
105     >
106       <ProfileInheritance
107         exporters={Array []}
108         organization="org"
109         profile={Object {}}
110         profiles={Array []}
111         updateProfiles={[MockFunction]}
112       />
113       <ProfileProjects
114         organization="org"
115         profile={Object {}}
116         updateProfiles={[MockFunction]}
117       />
118     </div>
119   </div>
120 </div>
121 `;