forked from hazza/dspace-angular
96598: Test feedback pt. 3: submission - repair auto-refresh - repair tests
This commit is contained in:

committed by
Alexandre Vryghem

parent
14fb379419
commit
dff343f62e
@@ -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();
|
||||||
});
|
});
|
||||||
|
Reference in New Issue
Block a user