From 7776bbce6e3c78a0e22ab09163116d2f73a8bf95 Mon Sep 17 00:00:00 2001 From: Josh Pollock Date: Mon, 19 Nov 2018 16:23:36 -0500 Subject: [PATCH] #2766 update test data to use field.isRequired --- clients/tests/unit/render/CalderaFormsRender.test.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/clients/tests/unit/render/CalderaFormsRender.test.js b/clients/tests/unit/render/CalderaFormsRender.test.js index a0e2cf80a..e3ecb1286 100644 --- a/clients/tests/unit/render/CalderaFormsRender.test.js +++ b/clients/tests/unit/render/CalderaFormsRender.test.js @@ -57,7 +57,7 @@ export const formRenderTestProps = { "fieldLabel": "Text field", "fieldCaption": "", "fieldPlaceHolder": "", - "required": false, + "isRequired": false, "fieldDefault": "", "fieldValue": "", "fieldIdAttr": "fld_12_1", @@ -70,7 +70,7 @@ export const formRenderTestProps = { "fieldLabel": "Text field", "fieldCaption": "", "fieldPlaceHolder": "", - "required": true, + "isRequired": true, "fieldDefault": "", "fieldValue": "", "fieldIdAttr": "fld_text_req_1", @@ -83,7 +83,7 @@ export const formRenderTestProps = { "fieldLabel": "Text field", "fieldCaption": "", "fieldPlaceHolder": "", - "required": true, + "isRequired": true, "fieldDefault": "Hi Roy", "fieldValue": "", "fieldIdAttr": "fld_text_req_2", @@ -96,7 +96,7 @@ export const formRenderTestProps = { "fieldLabel": "One File PNG Only", "fieldCaption": "", "fieldPlaceHolder": "", - "required": false, + "isRequired": false, "fieldDefault": "", "fieldValue": "", "fieldIdAttr": "fld_5899467_1", @@ -116,7 +116,7 @@ export const formRenderTestProps = { "fieldLabel": "Two Files PNG or JPG", "fieldCaption": "", "fieldPlaceHolder": "", - "required": false, + "isRequired": false, "fieldDefault": "", "fieldValue": "", "fieldIdAttr": "fld_7480239_1",