From a4d9ce2ec9d8141232740facbf9f4422bf01b08c Mon Sep 17 00:00:00 2001 From: Ben Bosman Date: Mon, 6 Jan 2020 09:55:47 +0100 Subject: [PATCH] verify whether file uploads are mandatory --- .../submission/sections/upload/section-upload.component.spec.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 68f5ec6de4..3a512c05c0 100644 --- a/src/app/submission/sections/upload/section-upload.component.spec.ts +++ b/src/app/submission/sections/upload/section-upload.component.spec.ts @@ -274,7 +274,7 @@ describe('SubmissionSectionUploadComponent test suite', () => { resourcePolicyService.findByHref.and.returnValue(createSuccessfulRemoteDataObject$(mockDefaultAccessCondition)); uploadsConfigService.getConfigByHref.and.returnValue(observableOf( - new ConfigData(new PageInfo(), mockUploadConfigResponseNotRequired as any) + new ConfigData(new PageInfo(), mockUploadConfigResponse as any) )); groupService.findById.and.returnValues(