aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGravatar Hassan Abouelela <[email protected]>2021-02-19 12:07:50 +0300
committerGravatar Hassan Abouelela <[email protected]>2021-02-19 12:07:50 +0300
commit569762a54ac4d3c464800a981acec5614cd29ef9 (patch)
tree08d7f3e21806a935f4916df737da09758b3c9b0e /src
parentMerge pull request #91 from python-discord/forms-submitting (diff)
Adds Missing Fields To Test Models
Signed-off-by: Hassan Abouelela <[email protected]>
Diffstat (limited to 'src')
-rw-r--r--src/tests/components/FormListing.test.tsx6
-rw-r--r--src/tests/pages/LandingPage.test.tsx3
2 files changed, 6 insertions, 3 deletions
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", () => {