diff --git a/app/components/form/__test__/ValidatedFlowForm.test.tsx b/app/components/form/__test__/ValidatedFlowForm.test.tsx index e98239792..972fc378f 100644 --- a/app/components/form/__test__/ValidatedFlowForm.test.tsx +++ b/app/components/form/__test__/ValidatedFlowForm.test.tsx @@ -153,16 +153,12 @@ function buildStrapiInputComponent( __component: "form-elements.input", name: "myInput", placeholder: "input", - errors: { - data: [ - { - id: 0, - attributes: { - errorCodes, - name: "", - }, - }, - ], - }, + errors: [ + { + name: "", + id: 0, + errorCodes, + }, + ], }; }