1 // Jest Snapshot v1, https://goo.gl/fbAQLP
3 exports[`should render correctly 1`] = `
12 className="big-spacer-bottom"
15 className="display-flex-space-between"
18 '3' is a magic number.
22 className="text-muted"
28 className="little-spacer-left"
35 className="huge-spacer-bottom"
41 className="badge little-spacer-left"
46 className="huge-spacer-left"
51 className="little-spacer-left"
56 <HotspotSnippetContainer
72 "breadcrumbs": Array [],
75 "organization": "foo",
77 "qualityGate": Object {
82 "qualityProfiles": Array [
92 "creationDate": "2013-05-13T17:55:41+0200",
93 "key": "01fc972e-2a3c-433e-bcae-0bd7f88f5123",
95 "message": "'3' is a magic number.",
97 "breadcrumbs": Array [],
100 "organization": "foo",
102 "qualityGate": Object {
107 "qualityProfiles": Array [
117 "resolution": "FIXED",
119 "fixRecommendations": "<p>This a <strong>strong</strong> message about fixing !</p>",
120 "key": "squid:S2077",
122 "riskDescription": "<p>This a <strong>strong</strong> message about risk !</p>",
123 "securityCategory": "sql-injection",
124 "vulnerabilityDescription": "<p>This a <strong>strong</strong> message about vulnerability !</p>",
125 "vulnerabilityProbability": "HIGH",
127 "status": "REVIEWED",
128 "textRange": Object {
134 "updateDate": "2013-05-13T17:55:42+0200",
153 "component": Object {
154 "breadcrumbs": Array [],
157 "organization": "foo",
159 "qualityGate": Object {
164 "qualityProfiles": Array [
174 "creationDate": "2013-05-13T17:55:41+0200",
175 "key": "01fc972e-2a3c-433e-bcae-0bd7f88f5123",
177 "message": "'3' is a magic number.",
179 "breadcrumbs": Array [],
182 "organization": "foo",
184 "qualityGate": Object {
189 "qualityProfiles": Array [
199 "resolution": "FIXED",
201 "fixRecommendations": "<p>This a <strong>strong</strong> message about fixing !</p>",
202 "key": "squid:S2077",
204 "riskDescription": "<p>This a <strong>strong</strong> message about risk !</p>",
205 "securityCategory": "sql-injection",
206 "vulnerabilityDescription": "<p>This a <strong>strong</strong> message about vulnerability !</p>",
207 "vulnerabilityProbability": "HIGH",
209 "status": "REVIEWED",
210 "textRange": Object {
216 "updateDate": "2013-05-13T17:55:42+0200",
224 exports[`should render correctly: anonymous user 1`] = `
230 className="big-padded"
233 className="big-spacer-bottom"
236 className="display-flex-space-between"
239 '3' is a magic number.
243 className="text-muted"
249 className="little-spacer-left"
256 className="huge-spacer-bottom"
262 className="badge little-spacer-left"
267 className="huge-spacer-left"
272 className="little-spacer-left"
277 <HotspotSnippetContainer
292 "component": Object {
293 "breadcrumbs": Array [],
296 "organization": "foo",
298 "qualityGate": Object {
303 "qualityProfiles": Array [
313 "creationDate": "2013-05-13T17:55:41+0200",
314 "key": "01fc972e-2a3c-433e-bcae-0bd7f88f5123",
316 "message": "'3' is a magic number.",
318 "breadcrumbs": Array [],
321 "organization": "foo",
323 "qualityGate": Object {
328 "qualityProfiles": Array [
338 "resolution": "FIXED",
340 "fixRecommendations": "<p>This a <strong>strong</strong> message about fixing !</p>",
341 "key": "squid:S2077",
343 "riskDescription": "<p>This a <strong>strong</strong> message about risk !</p>",
344 "securityCategory": "sql-injection",
345 "vulnerabilityDescription": "<p>This a <strong>strong</strong> message about vulnerability !</p>",
346 "vulnerabilityProbability": "HIGH",
348 "status": "REVIEWED",
349 "textRange": Object {
355 "updateDate": "2013-05-13T17:55:42+0200",
374 "component": Object {
375 "breadcrumbs": Array [],
378 "organization": "foo",
380 "qualityGate": Object {
385 "qualityProfiles": Array [
395 "creationDate": "2013-05-13T17:55:41+0200",
396 "key": "01fc972e-2a3c-433e-bcae-0bd7f88f5123",
398 "message": "'3' is a magic number.",
400 "breadcrumbs": Array [],
403 "organization": "foo",
405 "qualityGate": Object {
410 "qualityProfiles": Array [
420 "resolution": "FIXED",
422 "fixRecommendations": "<p>This a <strong>strong</strong> message about fixing !</p>",
423 "key": "squid:S2077",
425 "riskDescription": "<p>This a <strong>strong</strong> message about risk !</p>",
426 "securityCategory": "sql-injection",
427 "vulnerabilityDescription": "<p>This a <strong>strong</strong> message about vulnerability !</p>",
428 "vulnerabilityProbability": "HIGH",
430 "status": "REVIEWED",
431 "textRange": Object {
437 "updateDate": "2013-05-13T17:55:42+0200",
445 exports[`should render correctly: deleted assignee 1`] = `
451 className="big-padded"
454 className="big-spacer-bottom"
457 className="display-flex-space-between"
460 '3' is a magic number.
464 className="text-muted"
470 className="little-spacer-left"
477 className="huge-spacer-bottom"
483 className="badge little-spacer-left"
488 className="huge-spacer-left"
493 className="little-spacer-left"
495 user.x_deleted.John Doe
498 <HotspotSnippetContainer
513 "component": Object {
514 "breadcrumbs": Array [],
517 "organization": "foo",
519 "qualityGate": Object {
524 "qualityProfiles": Array [
534 "creationDate": "2013-05-13T17:55:41+0200",
535 "key": "01fc972e-2a3c-433e-bcae-0bd7f88f5123",
537 "message": "'3' is a magic number.",
539 "breadcrumbs": Array [],
542 "organization": "foo",
544 "qualityGate": Object {
549 "qualityProfiles": Array [
559 "resolution": "FIXED",
561 "fixRecommendations": "<p>This a <strong>strong</strong> message about fixing !</p>",
562 "key": "squid:S2077",
564 "riskDescription": "<p>This a <strong>strong</strong> message about risk !</p>",
565 "securityCategory": "sql-injection",
566 "vulnerabilityDescription": "<p>This a <strong>strong</strong> message about vulnerability !</p>",
567 "vulnerabilityProbability": "HIGH",
569 "status": "REVIEWED",
570 "textRange": Object {
576 "updateDate": "2013-05-13T17:55:42+0200",
595 "component": Object {
596 "breadcrumbs": Array [],
599 "organization": "foo",
601 "qualityGate": Object {
606 "qualityProfiles": Array [
616 "creationDate": "2013-05-13T17:55:41+0200",
617 "key": "01fc972e-2a3c-433e-bcae-0bd7f88f5123",
619 "message": "'3' is a magic number.",
621 "breadcrumbs": Array [],
624 "organization": "foo",
626 "qualityGate": Object {
631 "qualityProfiles": Array [
641 "resolution": "FIXED",
643 "fixRecommendations": "<p>This a <strong>strong</strong> message about fixing !</p>",
644 "key": "squid:S2077",
646 "riskDescription": "<p>This a <strong>strong</strong> message about risk !</p>",
647 "securityCategory": "sql-injection",
648 "vulnerabilityDescription": "<p>This a <strong>strong</strong> message about vulnerability !</p>",
649 "vulnerabilityProbability": "HIGH",
651 "status": "REVIEWED",
652 "textRange": Object {
658 "updateDate": "2013-05-13T17:55:42+0200",
666 exports[`should render correctly: no hotspot 1`] = `
673 exports[`should render correctly: user logged in 1`] = `
679 className="big-padded"
682 className="big-spacer-bottom"
685 className="display-flex-space-between"
688 '3' is a magic number.
705 "component": Object {
706 "breadcrumbs": Array [],
709 "organization": "foo",
711 "qualityGate": Object {
716 "qualityProfiles": Array [
726 "creationDate": "2013-05-13T17:55:41+0200",
727 "key": "01fc972e-2a3c-433e-bcae-0bd7f88f5123",
729 "message": "'3' is a magic number.",
731 "breadcrumbs": Array [],
734 "organization": "foo",
736 "qualityGate": Object {
741 "qualityProfiles": Array [
751 "resolution": "FIXED",
753 "fixRecommendations": "<p>This a <strong>strong</strong> message about fixing !</p>",
754 "key": "squid:S2077",
756 "riskDescription": "<p>This a <strong>strong</strong> message about risk !</p>",
757 "securityCategory": "sql-injection",
758 "vulnerabilityDescription": "<p>This a <strong>strong</strong> message about vulnerability !</p>",
759 "vulnerabilityProbability": "HIGH",
761 "status": "REVIEWED",
762 "textRange": Object {
768 "updateDate": "2013-05-13T17:55:42+0200",
771 onSubmit={[MockFunction]}
775 className="text-muted"
781 className="little-spacer-left"
788 className="huge-spacer-bottom"
794 className="badge little-spacer-left"
799 className="huge-spacer-left"
804 className="little-spacer-left"
809 <HotspotSnippetContainer
824 "component": Object {
825 "breadcrumbs": Array [],
828 "organization": "foo",
830 "qualityGate": Object {
835 "qualityProfiles": Array [
845 "creationDate": "2013-05-13T17:55:41+0200",
846 "key": "01fc972e-2a3c-433e-bcae-0bd7f88f5123",
848 "message": "'3' is a magic number.",
850 "breadcrumbs": Array [],
853 "organization": "foo",
855 "qualityGate": Object {
860 "qualityProfiles": Array [
870 "resolution": "FIXED",
872 "fixRecommendations": "<p>This a <strong>strong</strong> message about fixing !</p>",
873 "key": "squid:S2077",
875 "riskDescription": "<p>This a <strong>strong</strong> message about risk !</p>",
876 "securityCategory": "sql-injection",
877 "vulnerabilityDescription": "<p>This a <strong>strong</strong> message about vulnerability !</p>",
878 "vulnerabilityProbability": "HIGH",
880 "status": "REVIEWED",
881 "textRange": Object {
887 "updateDate": "2013-05-13T17:55:42+0200",
906 "component": Object {
907 "breadcrumbs": Array [],
910 "organization": "foo",
912 "qualityGate": Object {
917 "qualityProfiles": Array [
927 "creationDate": "2013-05-13T17:55:41+0200",
928 "key": "01fc972e-2a3c-433e-bcae-0bd7f88f5123",
930 "message": "'3' is a magic number.",
932 "breadcrumbs": Array [],
935 "organization": "foo",
937 "qualityGate": Object {
942 "qualityProfiles": Array [
952 "resolution": "FIXED",
954 "fixRecommendations": "<p>This a <strong>strong</strong> message about fixing !</p>",
955 "key": "squid:S2077",
957 "riskDescription": "<p>This a <strong>strong</strong> message about risk !</p>",
958 "securityCategory": "sql-injection",
959 "vulnerabilityDescription": "<p>This a <strong>strong</strong> message about vulnerability !</p>",
960 "vulnerabilityProbability": "HIGH",
962 "status": "REVIEWED",
963 "textRange": Object {
969 "updateDate": "2013-05-13T17:55:42+0200",