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