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