Skip to content

Commit

Permalink
fix new version uploader parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
DenysVuika committed Aug 2, 2024
1 parent d8f7e75 commit 610a43a
Showing 1 changed file with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,9 @@ describe('NewVersionUploaderService', () => {
);
mockNewVersionUploaderDialogData = {
node: mockNode,
file: mockFile
file: mockFile,
showComments: true,
allowDownload: true
};
});

Expand Down Expand Up @@ -170,7 +172,9 @@ describe('NewVersionUploaderService', () => {
const mockNewVersionUploaderDialogDataWithVersionsOnly = {
node: mockNode,
file: mockFile,
showVersionsOnly: true
showVersionsOnly: true,
showComments: true,
allowDownload: true
};
service.openUploadNewVersionDialog(mockNewVersionUploaderDialogDataWithVersionsOnly).toPromise();
tick();
Expand Down

0 comments on commit 610a43a

Please sign in to comment.