mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2025-10-08 14:51:14 +00:00
[ACA-1135] spike on deleting nodes from the viewer (#192)
* delete/restore from the viewer * rename content management service events * test fixes * offload node delete/restore to content service * improve tests
This commit is contained in:
committed by
Cilibiu Bogdan
parent
0d727a5ffd
commit
5234a875e7
@@ -194,19 +194,19 @@ describe('FilesComponent', () => {
|
||||
});
|
||||
|
||||
it('calls refresh deleteNode event', () => {
|
||||
contentManagementService.deleteNode.next();
|
||||
contentManagementService.nodeDeleted.next();
|
||||
|
||||
expect(component.load).toHaveBeenCalled();
|
||||
});
|
||||
|
||||
it('calls refresh moveNode event', () => {
|
||||
contentManagementService.moveNode.next();
|
||||
contentManagementService.nodeMoved.next();
|
||||
|
||||
expect(component.load).toHaveBeenCalled();
|
||||
});
|
||||
|
||||
it('calls refresh restoreNode event', () => {
|
||||
contentManagementService.restoreNode.next();
|
||||
contentManagementService.nodeRestored.next();
|
||||
|
||||
expect(component.load).toHaveBeenCalled();
|
||||
});
|
||||
|
Reference in New Issue
Block a user