#9 Test cases fixed

This commit is contained in:
mauriziovitale84
2016-05-17 14:31:50 +01:00
parent b0fb060624
commit 8395860a8f
2 changed files with 2 additions and 1 deletions

View File

@@ -82,6 +82,7 @@ describe('DocumentList', () => {
path: '<path>'
};
documentList.currentFolderPath = root.path;
documentList.rootFolder = root;
documentList.ngOnInit();
expect(documentList.displayFolderContent).toHaveBeenCalledWith(root.path);

View File

@@ -64,7 +64,7 @@ export class DocumentList implements OnInit, AfterViewChecked, AfterContentInit
};
@Input()
currentFolderPath: string;
currentFolderPath: string = '';
folder: NodePaging;
errorMessage;