Skip to content

Commit

Permalink
[DSC-1184] Fixes test compilation errors
Browse files Browse the repository at this point in the history
  • Loading branch information
vins01-4science committed Nov 14, 2023
1 parent ee31149 commit 87085e1
Showing 1 changed file with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ describe('DsoVersioningModalService', () => {
let workspaceItemDataService;
let itemService;
let editItemService;
let authorizationService;

const mockItem: Item = Object.assign(new Item(), {
bundles: createSuccessfulRemoteDataObject$(buildPaginatedList(new PageInfo(), [])),
Expand Down Expand Up @@ -50,6 +51,7 @@ describe('DsoVersioningModalService', () => {
workspaceItemDataService = jasmine.createSpyObj('workspaceItemDataService', ['findByItem']);
itemService = jasmine.createSpyObj('itemService', ['findByHref']);
editItemService = jasmine.createSpyObj('editItemService', ['invalidateItemCache']);
authorizationService = jasmine.createSpyObj('authorizationService', ['invalidateAuthorization']);

service = new DsoVersioningModalService(
modalService,
Expand All @@ -58,8 +60,9 @@ describe('DsoVersioningModalService', () => {
itemVersionShared,
router,
workspaceItemDataService,
itemService,
editItemService,
itemService,
editItemService,
authorizationService,
);
}));
describe('when onCreateNewVersion() is called', () => {
Expand Down

0 comments on commit 87085e1

Please sign in to comment.