Skip to content

Commit

Permalink
[AAE-12502] Add unit test fix
Browse files Browse the repository at this point in the history
  • Loading branch information
MichalKinas committed Sep 6, 2024
1 parent 1a62c89 commit 0da8814
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,7 @@ describe('AttachFileWidgetComponent', () => {
});

it('should add file to tempFilesList when form has value and file source is configured', () => {
spyOn(activitiContentService, 'getAlfrescoRepositories').and.returnValue(of(fakeRepositoryListAnswer));
spyOn(widget, 'isFileSourceConfigured').and.returnValue(true);
widget.field = new FormFieldModel(new FormModel(), {
type: FormFieldTypes.UPLOAD,
Expand Down

0 comments on commit 0da8814

Please sign in to comment.