diff --git a/backend/src/v1/services/validate-service.spec.ts b/backend/src/v1/services/validate-service.spec.ts index be47ae1ff..b020dd6ad 100644 --- a/backend/src/v1/services/validate-service.spec.ts +++ b/backend/src/v1/services/validate-service.spec.ts @@ -296,23 +296,6 @@ describe('validate-service', () => { rows: [] as any[], }; - describe(`given data constraints that exceed the maximum length`, () => { - it('returns an error message', () => { - const dataConstraintsTooLong = 'a'.repeat(MAX_LEN_DATA_CONSTRAINTS + 1); - const invalidSubmission = Object.assign({}, validSubmission, { - dataConstraints: dataConstraintsTooLong, - }); - const result: ValidationError | null = - validateService.validateSubmissionBody(invalidSubmission); - expect( - doesAnyStringContainAll(result.bodyErrors, [ - FIELD_DATA_CONSTRAINTS, - MAX_LEN_DATA_CONSTRAINTS + '', - ]), - ).toBeTruthy(); - }); - }); - describe(`given valid data constraints`, () => { it('returns no error messages related to data constraints', () => { const dataConstraintsTooLong = 'a'.repeat(MAX_LEN_DATA_CONSTRAINTS); diff --git a/doc-gen-service/src/v1/services/doc-gen-service.ts b/doc-gen-service/src/v1/services/doc-gen-service.ts index 4eb8b37db..6bfb35828 100644 --- a/doc-gen-service/src/v1/services/doc-gen-service.ts +++ b/doc-gen-service/src/v1/services/doc-gen-service.ts @@ -91,11 +91,8 @@ type SupplementaryReportData = { margin: { top: number; bottom: number; - left: number; - right: number; }; height: number; - width: number; }; footnoteSymbols: { genderCategorySuppressed: string; @@ -848,11 +845,8 @@ const docGenServicePrivate = { margin: { top: PDF_PAGE_SIZE_PIXELS.marginY, bottom: PDF_PAGE_SIZE_PIXELS.marginY, - left: PDF_PAGE_SIZE_PIXELS.marginX, - right: PDF_PAGE_SIZE_PIXELS.marginX, }, height: PDF_PAGE_SIZE_PIXELS.height, - width: PDF_PAGE_SIZE_PIXELS.width, }, footnoteSymbols: DEFAULT_FOOTNOTE_SYMBOLS, isGeneralSuppressedDataFootnoteVisible: diff --git a/frontend/src/components/RichTextArea.vue b/frontend/src/components/RichTextArea.vue index 948e5fc20..75384a0c4 100644 --- a/frontend/src/components/RichTextArea.vue +++ b/frontend/src/components/RichTextArea.vue @@ -42,7 +42,6 @@ export default {