verify whether file uploads are mandatory

This commit is contained in:
Ben Bosman
2020-01-06 09:55:47 +01:00
parent 015a0c76f8
commit a4d9ce2ec9

View File

@@ -274,7 +274,7 @@ describe('SubmissionSectionUploadComponent test suite', () => {
resourcePolicyService.findByHref.and.returnValue(createSuccessfulRemoteDataObject$(mockDefaultAccessCondition)); resourcePolicyService.findByHref.and.returnValue(createSuccessfulRemoteDataObject$(mockDefaultAccessCondition));
uploadsConfigService.getConfigByHref.and.returnValue(observableOf( uploadsConfigService.getConfigByHref.and.returnValue(observableOf(
new ConfigData(new PageInfo(), mockUploadConfigResponseNotRequired as any) new ConfigData(new PageInfo(), mockUploadConfigResponse as any)
)); ));
groupService.findById.and.returnValues( groupService.findById.and.returnValues(