mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
Fix document list tests
This commit is contained in:
@@ -140,7 +140,7 @@ describe('DocumentList', () => {
|
||||
spyOn(action, 'handler').and.stub();
|
||||
|
||||
documentList.executeContentAction(node, action);
|
||||
expect(action.handler).toHaveBeenCalledWith(node);
|
||||
expect(action.handler).toHaveBeenCalledWith(node, documentList);
|
||||
|
||||
});
|
||||
|
||||
@@ -152,7 +152,7 @@ describe('DocumentList', () => {
|
||||
|
||||
spyOn(action, 'handler').and.stub();
|
||||
documentList.executeContentAction(null, action);
|
||||
expect(action.handler).toHaveBeenCalledWith(null);
|
||||
expect(action.handler).toHaveBeenCalledWith(null, documentList);
|
||||
});
|
||||
|
||||
it('should update current folder path', () => {
|
||||
|
Reference in New Issue
Block a user