Skip to content

Commit

Permalink
Merge pull request #106 from ONSdigital/EAR-1795-Bug-Checkbox-Answers
Browse files Browse the repository at this point in the history
Bug fix
  • Loading branch information
Paul-Joel authored Jul 20, 2022
2 parents 136219e + 3c48e91 commit bbb8e35
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/eq_schema/builders/confirmationPage/ConfirmationPage.js
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
4 changes: 2 additions & 2 deletions src/eq_schema/schema/Group/index.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -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: {
Expand Down

0 comments on commit bbb8e35

Please sign in to comment.