]> source.dussan.org Git - sonarqube.git/blob
48791a5d06502e2c46ea49156c0a91d60a9e1487
[sonarqube.git] /
1 // Jest Snapshot v1, https://goo.gl/fbAQLP
2
3 exports[`#ExternalProvider should render correctly 1`] = `
4 <div
5   className="js-user-identity-provider little-spacer-top"
6 >
7   <div
8     className="identity-provider"
9     style={
10       {
11         "backgroundColor": "blue",
12         "color": "#fff",
13       }
14     }
15   >
16     <img
17       alt="Foo Provider"
18       className="little-spacer-right"
19       height="14"
20       src="icon/path"
21       width="14"
22     />
23   </div>
24 </div>
25 `;
26
27 exports[`#ExternalProvider should render the user external provider and identity 1`] = `
28 <div
29   className="js-user-identity-provider little-spacer-top"
30 >
31   <span>
32     foo
33     : 
34   </span>
35 </div>
36 `;
37
38 exports[`#UserListItemIdentity should render correctly 1`] = `
39 <div>
40   <div>
41     <strong
42       className="js-user-name"
43     >
44       One
45     </strong>
46     <span
47       className="js-user-login note little-spacer-left"
48     >
49       obi
50     </span>
51   </div>
52   <div
53     className="js-user-email little-spacer-top"
54   >
55     obi.one@empire
56   </div>
57   <ExternalProvider
58     identityProvider={
59       {
60         "backgroundColor": "blue",
61         "iconPath": "icon/path",
62         "key": "foo",
63         "name": "Foo Provider",
64       }
65     }
66     user={
67       {
68         "active": true,
69         "email": "obi.one@empire",
70         "externalProvider": "foo",
71         "lastConnectionDate": "2019-01-18T15:06:33+0100",
72         "local": false,
73         "login": "obi",
74         "managed": false,
75         "name": "One",
76         "scmAccounts": [],
77       }
78     }
79   />
80 </div>
81 `;