From 569762a54ac4d3c464800a981acec5614cd29ef9 Mon Sep 17 00:00:00 2001 From: Hassan Abouelela <47495861+HassanAbouelela@users.noreply.github.com> Date: Fri, 19 Feb 2021 12:07:50 +0300 Subject: Adds Missing Fields To Test Models Signed-off-by: Hassan Abouelela <47495861+HassanAbouelela@users.noreply.github.com> --- src/tests/components/FormListing.test.tsx | 6 ++++-- src/tests/pages/LandingPage.test.tsx | 3 ++- 2 files changed, 6 insertions(+), 3 deletions(-) (limited to 'src/tests') diff --git a/src/tests/components/FormListing.test.tsx b/src/tests/components/FormListing.test.tsx index f269dbf..2116e48 100644 --- a/src/tests/components/FormListing.test.tsx +++ b/src/tests/components/FormListing.test.tsx @@ -21,7 +21,8 @@ const openFormListing: Form = { required: false } ], - webhook: null + webhook: null, + submitted_text: null }; const closedFormListing: Form = { @@ -38,7 +39,8 @@ const closedFormListing: Form = { required: false } ], - webhook: null + webhook: null, + submitted_text: null }; test("renders form listing with specified title", () => { diff --git a/src/tests/pages/LandingPage.test.tsx b/src/tests/pages/LandingPage.test.tsx index e461815..6f8a530 100644 --- a/src/tests/pages/LandingPage.test.tsx +++ b/src/tests/pages/LandingPage.test.tsx @@ -21,7 +21,8 @@ const testingForm: forms.Form = { required: true } ], - "webhook": null + "webhook": null, + submitted_text: null }; test("renders landing page", () => { -- cgit v1.2.3