1
0

96598: Test feedback pt. 3: submission - repair auto-refresh - repair tests

This commit is contained in:
samuel
2022-11-23 16:16:12 +01:00
committed by Alexandre Vryghem
parent 14fb379419
commit dff343f62e

View File

@@ -295,7 +295,9 @@ describe('SubmissionSectionFormComponent test suite', () => {
'dc.title': [new FormFieldMetadataValueObject('test')] 'dc.title': [new FormFieldMetadataValueObject('test')]
}; };
compAsAny.formData = {}; compAsAny.formData = {};
compAsAny.sectionMetadata = ['dc.title']; compAsAny.sectionData.data = {
'dc.title': [new FormFieldMetadataValueObject('test')]
};
expect(comp.hasMetadataEnrichment(newSectionData)).toBeTruthy(); expect(comp.hasMetadataEnrichment(newSectionData)).toBeTruthy();
}); });