From 3c48e91088e160e61689ae52473e188e7f8ba98d Mon Sep 17 00:00:00 2001 From: Paul-Joel Date: Wed, 20 Jul 2022 12:03:06 +0100 Subject: [PATCH] Bug fix --- src/eq_schema/builders/confirmationPage/ConfirmationPage.js | 4 ++-- src/eq_schema/schema/Group/index.test.js | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/eq_schema/builders/confirmationPage/ConfirmationPage.js b/src/eq_schema/builders/confirmationPage/ConfirmationPage.js index 5f76cd7f..9e698aef 100644 --- a/src/eq_schema/builders/confirmationPage/ConfirmationPage.js +++ b/src/eq_schema/builders/confirmationPage/ConfirmationPage.js @@ -48,10 +48,10 @@ const buildAuthorConfirmationQuestion = (page, groupId, routing, ctx) => { }; const checkBoxTransform = [{ - text: "{checkboxAnswers}", + text: "{checkbox_answers}", placeholders: [ { - placeholder: "checkboxAnswers", + placeholder: "checkbox_answers", transforms: [ { transform: "format_list", diff --git a/src/eq_schema/schema/Group/index.test.js b/src/eq_schema/schema/Group/index.test.js index 6f3795e1..1577363b 100644 --- a/src/eq_schema/schema/Group/index.test.js +++ b/src/eq_schema/schema/Group/index.test.js @@ -448,9 +448,9 @@ describe("Group", () => { const resultantJson = new Group(folder, ctx); expect(resultantJson.blocks[1].question.description).toEqual([ { - text: "{checkboxAnswers}", + text: "{checkbox_answers}", placeholders: [{ - placeholder: "checkboxAnswers", + placeholder: "checkbox_answers", transforms: [{ arguments: { list_to_format: {