mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-08-07 17:48:54 +00:00
#9 Test cases fixed
This commit is contained in:
@@ -82,6 +82,7 @@ describe('DocumentList', () => {
|
|||||||
path: '<path>'
|
path: '<path>'
|
||||||
};
|
};
|
||||||
|
|
||||||
|
documentList.currentFolderPath = root.path;
|
||||||
documentList.rootFolder = root;
|
documentList.rootFolder = root;
|
||||||
documentList.ngOnInit();
|
documentList.ngOnInit();
|
||||||
expect(documentList.displayFolderContent).toHaveBeenCalledWith(root.path);
|
expect(documentList.displayFolderContent).toHaveBeenCalledWith(root.path);
|
||||||
|
@@ -64,7 +64,7 @@ export class DocumentList implements OnInit, AfterViewChecked, AfterContentInit
|
|||||||
};
|
};
|
||||||
|
|
||||||
@Input()
|
@Input()
|
||||||
currentFolderPath: string;
|
currentFolderPath: string = '';
|
||||||
|
|
||||||
folder: NodePaging;
|
folder: NodePaging;
|
||||||
errorMessage;
|
errorMessage;
|
||||||
|
Reference in New Issue
Block a user