From 2f53fc657198fe886adbb2fcfcab5167923b22b8 Mon Sep 17 00:00:00 2001
From: Yoan VALLET <ext.sopra.yvallet@grandlyon.com>
Date: Fri, 2 Apr 2021 17:06:12 +0200
Subject: [PATCH] feat: update tests

---
 .../LegalNoticeLink.spec.tsx.snap             | 24 +++++++++++++++----
 1 file changed, 20 insertions(+), 4 deletions(-)

diff --git a/src/components/LegalNotice/__snapshots__/LegalNoticeLink.spec.tsx.snap b/src/components/LegalNotice/__snapshots__/LegalNoticeLink.spec.tsx.snap
index da2b40ba7..8d9f2c491 100644
--- a/src/components/LegalNotice/__snapshots__/LegalNoticeLink.spec.tsx.snap
+++ b/src/components/LegalNotice/__snapshots__/LegalNoticeLink.spec.tsx.snap
@@ -12,11 +12,27 @@ exports[`LegalNoticeView component should be rendered correctly 1`] = `
     >
       legal.title_legal
     </div>
-    <ForwardRef
+    <ForwardRef(WithStyles)
       className="legal-notice-card-link"
+      component={
+        Object {
+          "$$typeof": Symbol(react.forward_ref),
+          "displayName": "Link",
+          "propTypes": Object {
+            "innerRef": [Function],
+            "onClick": [Function],
+            "replace": [Function],
+            "target": [Function],
+            "to": [Function],
+          },
+          "render": [Function],
+        }
+      }
       to="options/legalnotice"
     >
-      <StyledCard>
+      <div
+        className="card"
+      >
         <div
           className="legal-notice-card"
         >
@@ -35,8 +51,8 @@ exports[`LegalNoticeView component should be rendered correctly 1`] = `
             </div>
           </div>
         </div>
-      </StyledCard>
-    </ForwardRef>
+      </div>
+    </ForwardRef(WithStyles)>
   </div>
 </div>
 `;
-- 
GitLab