]> source.dussan.org Git - sonarqube.git/blob
589e0cb9e835d1399521b9bd46f83d1e1e4aae55
[sonarqube.git] /
1 // Jest Snapshot v1, https://goo.gl/fbAQLP
2
3 exports[`should render correctly 1`] = `
4 <div
5   className="page page-limited"
6 >
7   <Suggestions
8     suggestions="global_permissions"
9   />
10   <Helmet
11     defer={false}
12     encodeSpecialCharacters={true}
13     title="global_permissions.permission"
14   />
15   <PageHeader
16     loading={true}
17   />
18   <Connect(AllHoldersList)
19     filter="all"
20     grantPermissionToGroup={[Function]}
21     grantPermissionToUser={[Function]}
22     groups={Array []}
23     loadHolders={[Function]}
24     loading={true}
25     onFilter={[Function]}
26     onLoadMore={[Function]}
27     onSearch={[Function]}
28     query=""
29     revokePermissionFromGroup={[Function]}
30     revokePermissionFromUser={[Function]}
31     users={Array []}
32   />
33 </div>
34 `;
35
36 exports[`should render correctly 2`] = `
37 <div
38   className="page page-limited"
39 >
40   <Suggestions
41     suggestions="global_permissions"
42   />
43   <Helmet
44     defer={false}
45     encodeSpecialCharacters={true}
46     title="global_permissions.permission"
47   />
48   <PageHeader
49     loading={false}
50   />
51   <Connect(AllHoldersList)
52     filter="all"
53     grantPermissionToGroup={[Function]}
54     grantPermissionToUser={[Function]}
55     groups={
56       Array [
57         Object {
58           "name": "Anyone",
59           "permissions": Array [
60             "admin",
61             "codeviewer",
62             "issueadmin",
63           ],
64         },
65         Object {
66           "description": "SonarSource team",
67           "id": "1",
68           "name": "SonarSource",
69           "permissions": Array [],
70         },
71       ]
72     }
73     groupsPaging={
74       Object {
75         "pageIndex": 1,
76         "pageSize": 100,
77         "total": 2,
78       }
79     }
80     loadHolders={[Function]}
81     loading={false}
82     onFilter={[Function]}
83     onLoadMore={[Function]}
84     onSearch={[Function]}
85     query=""
86     revokePermissionFromGroup={[Function]}
87     revokePermissionFromUser={[Function]}
88     users={
89       Array [
90         Object {
91           "avatar": "admin-avatar",
92           "email": "admin@gmail.com",
93           "login": "admin",
94           "name": "Admin Admin",
95           "permissions": Array [
96             "admin",
97           ],
98         },
99         Object {
100           "avatar": "user-avatar-1",
101           "email": "user1@gmail.com",
102           "login": "user1",
103           "name": "User Number 1",
104           "permissions": Array [],
105         },
106         Object {
107           "avatar": "user-avatar-2",
108           "email": "user2@gmail.com",
109           "login": "user2",
110           "name": "User Number 2",
111           "permissions": Array [],
112         },
113       ]
114     }
115     usersPaging={
116       Object {
117         "pageIndex": 1,
118         "pageSize": 100,
119         "total": 3,
120       }
121     }
122   />
123 </div>
124 `;