From ce316baf3c5615122e3ab41ceedbc78137e86b48 Mon Sep 17 00:00:00 2001
From: Hassan Abouelela <47495861+HassanAbouelela@users.noreply.github.com>
Date: Mon, 4 Jan 2021 02:25:55 +0300
Subject: Updates Models

Changes the models to match the backend.

Signed-off-by: Hassan Abouelela <47495861+HassanAbouelela@users.noreply.github.com>
---
 src/tests/pages/LandingPage.test.tsx | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

(limited to 'src/tests/pages/LandingPage.test.tsx')

diff --git a/src/tests/pages/LandingPage.test.tsx b/src/tests/pages/LandingPage.test.tsx
index 5635e63..e461815 100644
--- a/src/tests/pages/LandingPage.test.tsx
+++ b/src/tests/pages/LandingPage.test.tsx
@@ -17,9 +17,11 @@ const testingForm: forms.Form = {
             "id": "my-question",
             "name": "My Question",
             "type": QuestionType.ShortText,
-            "data": {}
+            "data": {},
+            required: true
         }
-    ]
+    ],
+    "webhook": null
 };
 
 test("renders landing page", () => {
-- 
cgit v1.2.3

