mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-10 11:33:04 +00:00
Added form validation before saving bitstream data
This commit is contained in:
@@ -236,6 +236,7 @@ describe('FormSectionComponent test suite', () => {
|
||||
|
||||
it('should init section properly', () => {
|
||||
const sectionData = {};
|
||||
formService.isValid.and.returnValue(observableOf(true));
|
||||
formConfigService.getConfigByHref.and.returnValue(observableOf(formConfigData));
|
||||
sectionsServiceStub.getSectionData.and.returnValue(observableOf(sectionData));
|
||||
spyOn(comp, 'initForm');
|
||||
|
Reference in New Issue
Block a user