diff --git a/src/app/submission/objects/submission-objects.effects.spec.ts b/src/app/submission/objects/submission-objects.effects.spec.ts index a1bb878aa59..9b98d91a47c 100644 --- a/src/app/submission/objects/submission-objects.effects.spec.ts +++ b/src/app/submission/objects/submission-objects.effects.spec.ts @@ -145,6 +145,7 @@ describe('SubmissionObjectEffects test suite', () => { config, sectionDefinition.mandatory, sectionDefinition.sectionType, + sectionDefinition.extendsSectionType, sectionDefinition.visibility, enabled, sectionData, diff --git a/src/app/submission/objects/submission-objects.reducer.spec.ts b/src/app/submission/objects/submission-objects.reducer.spec.ts index 2a24afae19c..e8172907a62 100644 --- a/src/app/submission/objects/submission-objects.reducer.spec.ts +++ b/src/app/submission/objects/submission-objects.reducer.spec.ts @@ -234,6 +234,7 @@ describe('submissionReducer test suite', () => { config: 'https://rest.api/dspace-spring-rest/api/config/submissionforms/traditionalpageone', mandatory: true, sectionType: 'submission-form', + extendsSectionType: undefined, visibility: undefined, collapsed: false, enabled: true, @@ -255,6 +256,7 @@ describe('submissionReducer test suite', () => { true, SectionsType.SubmissionForm, undefined, + undefined, true, {}, null); diff --git a/src/app/submission/sections/cc-license/submission-section-cc-licenses.component.spec.ts b/src/app/submission/sections/cc-license/submission-section-cc-licenses.component.spec.ts index bb83e48d212..badcb0d91be 100644 --- a/src/app/submission/sections/cc-license/submission-section-cc-licenses.component.spec.ts +++ b/src/app/submission/sections/cc-license/submission-section-cc-licenses.component.spec.ts @@ -33,7 +33,8 @@ describe('SubmissionSectionCcLicensesComponent', () => { serverValidationErrors: [], header: 'test header', id: 'test section id', - sectionType: SectionsType.SubmissionForm + sectionType: SectionsType.SubmissionForm, + extendsSectionType: undefined, }; const submissionCcLicenses: SubmissionCcLicence[] = [ diff --git a/src/app/submission/sections/container/section-container.component.spec.ts b/src/app/submission/sections/container/section-container.component.spec.ts index d3f4a93762a..2a6ecf65dea 100644 --- a/src/app/submission/sections/container/section-container.component.spec.ts +++ b/src/app/submission/sections/container/section-container.component.spec.ts @@ -40,7 +40,8 @@ const sectionObject: SectionDataObject = { serverValidationErrors: [], header: 'submit.progressbar.describe.stepone', id: 'traditionalpageone', - sectionType: SectionsType.SubmissionForm + sectionType: SectionsType.SubmissionForm, + extendsSectionType: undefined, }; describe('SubmissionSectionContainerComponent test suite', () => { diff --git a/src/app/submission/sections/form/section-form.component.spec.ts b/src/app/submission/sections/form/section-form.component.spec.ts index 4fbf324edf8..30527a2cf0f 100644 --- a/src/app/submission/sections/form/section-form.component.spec.ts +++ b/src/app/submission/sections/form/section-form.component.spec.ts @@ -63,7 +63,8 @@ const sectionObject: SectionDataObject = { serverValidationErrors: [], header: 'submit.progressbar.describe.stepone', id: 'traditionalpageone', - sectionType: SectionsType.SubmissionForm + sectionType: SectionsType.SubmissionForm, + extendsSectionType: undefined, }; const testFormConfiguration = { diff --git a/src/app/submission/sections/identifiers/section-identifiers.component.spec.ts b/src/app/submission/sections/identifiers/section-identifiers.component.spec.ts index 041e2af23a4..73e1a697a04 100644 --- a/src/app/submission/sections/identifiers/section-identifiers.component.spec.ts +++ b/src/app/submission/sections/identifiers/section-identifiers.component.spec.ts @@ -99,6 +99,7 @@ const sectionObject: SectionDataObject = { header: 'submission.sections.submit.progressbar.identifiers', id: 'identifiers', sectionType: SectionsType.Identifiers, + extendsSectionType: undefined, sectionVisibility: null }; diff --git a/src/app/submission/sections/license/section-license.component.spec.ts b/src/app/submission/sections/license/section-license.component.spec.ts index 35fea95b8df..3be275fd4a7 100644 --- a/src/app/submission/sections/license/section-license.component.spec.ts +++ b/src/app/submission/sections/license/section-license.component.spec.ts @@ -74,7 +74,8 @@ const sectionObject: SectionDataObject = { serverValidationErrors: [], header: 'submit.progressbar.describe.license', id: 'license', - sectionType: SectionsType.License + sectionType: SectionsType.License, + extendsSectionType: undefined, }; const dynamicFormControlEvent: DynamicFormControlEvent = { diff --git a/src/app/submission/sections/upload/section-upload.component.spec.ts b/src/app/submission/sections/upload/section-upload.component.spec.ts index 068fc5c7660..4ea96bcb05f 100644 --- a/src/app/submission/sections/upload/section-upload.component.spec.ts +++ b/src/app/submission/sections/upload/section-upload.component.spec.ts @@ -102,7 +102,8 @@ describe('SubmissionSectionUploadComponent test suite', () => { serverValidationErrors: [], header: 'submit.progressbar.describe.upload', id: 'upload-id', - sectionType: SectionsType.Upload + sectionType: SectionsType.Upload, + extendsSectionType: undefined, }; submissionId = mockSubmissionId; collectionId = mockSubmissionCollectionId; diff --git a/src/app/submission/submission.service.spec.ts b/src/app/submission/submission.service.spec.ts index 1e2be5b6121..0e419340a2f 100644 --- a/src/app/submission/submission.service.spec.ts +++ b/src/app/submission/submission.service.spec.ts @@ -581,6 +581,7 @@ describe('SubmissionService test suite', () => { config: 'https://rest.api/dspace-spring-rest/api/config/submissionforms/keyinformation', mandatory: true, sectionType: 'submission-form', + extendsSectionType: undefined, data: {}, errorsToShow: [], serverValidationErrors: [] @@ -591,6 +592,7 @@ describe('SubmissionService test suite', () => { config: 'https://rest.api/dspace-spring-rest/api/config/submissionforms/indexing', mandatory: false, sectionType: 'submission-form', + extendsSectionType: undefined, data: {}, errorsToShow: [], serverValidationErrors: [] @@ -601,6 +603,7 @@ describe('SubmissionService test suite', () => { config: 'https://rest.api/dspace-spring-rest/api/config/submissionforms/publicationchannel', mandatory: true, sectionType: 'submission-form', + extendsSectionType: undefined, data: {}, errorsToShow: [], serverValidationErrors: [] @@ -611,6 +614,7 @@ describe('SubmissionService test suite', () => { config: 'https://rest.api/dspace-spring-rest/api/config/submissionforms/acknowledgement', mandatory: false, sectionType: 'submission-form', + extendsSectionType: undefined, data: {}, errorsToShow: [], serverValidationErrors: [] @@ -621,6 +625,7 @@ describe('SubmissionService test suite', () => { config: 'https://rest.api/dspace-spring-rest/api/config/submissionforms/identifiers', mandatory: false, sectionType: 'submission-form', + extendsSectionType: undefined, data: {}, errorsToShow: [], serverValidationErrors: [] @@ -631,6 +636,7 @@ describe('SubmissionService test suite', () => { config: 'https://rest.api/dspace-spring-rest/api/config/submissionforms/references', mandatory: false, sectionType: 'submission-form', + extendsSectionType: undefined, data: {}, errorsToShow: [], serverValidationErrors: [] @@ -641,6 +647,7 @@ describe('SubmissionService test suite', () => { config: 'https://rest.api/dspace-spring-rest/api/config/submissionuploads/upload', mandatory: true, sectionType: 'upload', + extendsSectionType: undefined, data: {}, errorsToShow: [], serverValidationErrors: [] @@ -651,6 +658,7 @@ describe('SubmissionService test suite', () => { config: '', mandatory: true, sectionType: 'license', + extendsSectionType: undefined, data: {}, errorsToShow: [], serverValidationErrors: []