mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2025-10-01 14:41:14 +00:00
[ACA-972] Refactor code to use folder edit directive from ADF, once the PR (to add those to ADF) is merged (#39)
and some [ACA-966] changes to use correct service and event to reload
This commit is contained in:
@@ -170,13 +170,13 @@ describe('FilesComponent', () => {
|
||||
});
|
||||
|
||||
it('calls refresh onCreateFolder event', () => {
|
||||
contentManagementService.createFolder.next();
|
||||
alfrescoContentService.folderCreate.next();
|
||||
|
||||
expect(component.load).toHaveBeenCalled();
|
||||
});
|
||||
|
||||
it('calls refresh editFolder event', () => {
|
||||
contentManagementService.editFolder.next();
|
||||
alfrescoContentService.folderEdit.next();
|
||||
|
||||
expect(component.load).toHaveBeenCalled();
|
||||
});
|
||||
|
Reference in New Issue
Block a user