From 3945c47a53c7cae3208380e21eb3959daac2730a Mon Sep 17 00:00:00 2001 From: Andreas Gasser Date: Wed, 8 May 2019 13:48:50 +0200 Subject: [PATCH] fix(#107): fixed failing test cases and removed prop type warnings --- src/app/Privacy.jsx | 1 + .../__snapshots__/Privacy.test.js.snap | 44 +++++++++++-------- src/auth/login/__tests__/LoginForm.test.js | 6 +-- src/auth/login/__tests__/LoginView.test.js | 2 +- src/auth/register/CheckEmailForm.jsx | 2 +- .../register/__tests__/CheckEmailForm.test.js | 35 ++++++++++----- .../register/__tests__/RegisterForm.test.js | 34 +++++++++----- .../register/__tests__/RegisterView.test.js | 2 +- .../__snapshots__/AddImageButton.test.js.snap | 4 +- .../__snapshots__/Attribute.test.js.snap | 6 +-- .../__snapshots__/Faces.test.js.snap | 43 +++++++++--------- src/images/list/__tests__/ImageList.test.js | 8 +++- src/redux/images/__tests__/index.test.js | 2 +- src/redux/user/index.js | 2 +- src/setupTests.js | 2 +- .../__snapshots__/Footer.test.js.snap | 6 +-- src/ui/form/Form.jsx | 8 ++-- src/ui/form/__tests__/Form.test.js | 23 ++++++---- .../__snapshots__/ButtonGroup.test.js.snap | 4 +- .../__tests__/__snapshots__/Form.test.js.snap | 10 +++-- src/user/UpdateUserForm.jsx | 4 +- src/user/__tests__/UpdateUserForm.test.js | 2 +- 22 files changed, 154 insertions(+), 96 deletions(-) diff --git a/src/app/Privacy.jsx b/src/app/Privacy.jsx index 10177fb..d98bab3 100644 --- a/src/app/Privacy.jsx +++ b/src/app/Privacy.jsx @@ -28,6 +28,7 @@ const PrivacyView = () => ( This page informs you of our policies regarding the collection, use, and disclosure of personal data when you use our Service and the choices you have associated with that data. Our Privacy Policy for Rekognition is managed with the help of + {' '} Privacy Policies

diff --git a/src/app/__tests__/__snapshots__/Privacy.test.js.snap b/src/app/__tests__/__snapshots__/Privacy.test.js.snap index 2954d12..daef7ee 100644 --- a/src/app/__tests__/__snapshots__/Privacy.test.js.snap +++ b/src/app/__tests__/__snapshots__/Privacy.test.js.snap @@ -26,9 +26,9 @@ exports[`Privacy test suite should render consistently 1`] = ` .c2 { margin-top: 12px; margin-bottom: 0px; - font-size: 18px; - line-height: 24px; - max-width: 432px; + font-size: 50px; + line-height: 56px; + max-width: 1200px; font-weight: 600; } @@ -63,9 +63,9 @@ exports[`Privacy test suite should render consistently 1`] = ` @media only screen and (max-width:768px) { .c2 { - font-size: 18px; - line-height: 24px; - max-width: 432px; + font-size: 34px; + line-height: 40px; + max-width: 816px; } } @@ -6896,7 +6896,7 @@ string", className="c0 c1" > -

Privacy Policy -

+
@@ -8731,16 +8731,18 @@ string", Effective date: September 20, 2018

- Rekognition ("us", "we", or "our") operates the www.rekognition.gasserandreas.com website and the Rekognition mobile application (hereinafter referred to as the "Service"). + Rekognition ("us", "we", or "our") operates the + + www.rekognition.gasserandreas.com website and the Rekognition mobile application (hereinafter referred to as the "Service").

This page informs you of our policies regarding the collection, use, and disclosure of personal data when you use our Service and the choices you have associated with that data. Our Privacy Policy for Rekognition is managed with the help of + Privacy Policies - .

We use your data to provide and improve the Service. By using the Service, you agree to the collection and use of information in accordance with this policy. Unless otherwise defined in this Privacy Policy, the terms used in this Privacy Policy have the same meanings as in our Terms and Conditions. @@ -8758,7 +8760,9 @@ string", Personal Data

- While using our Service, we may ask you to provide us with certain personally identifiable information that can be used to contact or identify you ("Personal Data"). Personally identifiable information may include, but is not limited to: + While using our Service, we may ask you to provide us with certain personally identifiable information that can be used to contact or identify you ("Personal Data"). Personally identifiable information + + may include, but is not limited to: