mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-18 15:33:04 +00:00
68405: test fixes
This commit is contained in:

committed by
Art Lowel

parent
bc7c92f44c
commit
10bb457897
@@ -8,7 +8,6 @@ import { ItemDataService } from '../../../../core/data/item-data.service';
|
||||
|
||||
import { Item } from '../../../../core/shared/item.model';
|
||||
import { WorkspaceItem } from '../../../../core/submission/models/workspaceitem.model';
|
||||
import { getMockLinkService } from '../../../mocks/mock-link-service';
|
||||
import { MyDspaceItemStatusType } from '../../../object-collection/shared/mydspace-item-status/my-dspace-item-status-type';
|
||||
import { WorkflowItemSearchResult } from '../../../object-collection/shared/workflow-item-search-result.model';
|
||||
import { createSuccessfulRemoteDataObject } from '../../../testing/utils';
|
||||
@@ -89,7 +88,6 @@ describe('WorkspaceItemSearchResultListElementComponent', () => {
|
||||
});
|
||||
|
||||
it('should have properly status', () => {
|
||||
expect(linkService.resolveLink).toHaveBeenCalled();
|
||||
expect(component.status).toEqual(MyDspaceItemStatusType.WORKSPACE);
|
||||
});
|
||||
});
|
||||
|
Reference in New Issue
Block a user