mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-31 17:38:48 +00:00
Fix unit test
This commit is contained in:
@@ -123,7 +123,7 @@ describe('ShareDataTableAdapter', () => {
|
|||||||
let adapter = new ShareDataTableAdapter(documentListService, null, null);
|
let adapter = new ShareDataTableAdapter(documentListService, null, null);
|
||||||
adapter.loadPath(path);
|
adapter.loadPath(path);
|
||||||
|
|
||||||
expect(documentListService.getFolder).toHaveBeenCalledWith(path);
|
expect(documentListService.getFolder).toHaveBeenCalledWith(path, jasmine.anything());
|
||||||
|
|
||||||
let rows = adapter.getRows();
|
let rows = adapter.getRows();
|
||||||
expect(rows.length).toBe(1);
|
expect(rows.length).toBe(1);
|
||||||
|
Reference in New Issue
Block a user