diff --git a/ng2-components/ng2-alfresco-documentlist/src/components/document-list.spec.ts b/ng2-components/ng2-alfresco-documentlist/src/components/document-list.spec.ts index e4aebf1875..d5d32b9a38 100644 --- a/ng2-components/ng2-alfresco-documentlist/src/components/document-list.spec.ts +++ b/ng2-components/ng2-alfresco-documentlist/src/components/document-list.spec.ts @@ -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', () => {