mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-31 17:38:48 +00:00
[ADF - 1114] Process comments - Share the same comment between Task and Process (#2105)
* changed process comment template and used task comment component * changed getTaskComment, getProcessInstanceComment, addTaskComment and addProcessInstanceComment to getComments and addComment * removed provider from task comment component * extended tasklist service and changed comment-list container css * changed process service methods and associated test cases * added error emitter and test cases for process-comments component * fixed process header component test case
This commit is contained in:
committed by
Eugenio Romano
parent
7fbdf4ed8a
commit
83a6f0d425
@@ -73,7 +73,7 @@ describe('TaskDetailsComponent', () => {
|
||||
getFormSpy = spyOn(formService, 'getTaskForm').and.returnValue(Observable.of(taskFormMock));
|
||||
getTasksSpy = spyOn(service, 'getTasks').and.returnValue(Observable.of(tasksMock));
|
||||
completeTaskSpy = spyOn(service, 'completeTask').and.returnValue(Observable.of({}));
|
||||
spyOn(service, 'getTaskComments').and.returnValue(Observable.of(noDataMock));
|
||||
spyOn(service, 'getComments').and.returnValue(Observable.of(noDataMock));
|
||||
spyOn(service, 'getTaskChecklist').and.returnValue(Observable.of(noDataMock));
|
||||
|
||||
componentHandler = jasmine.createSpyObj('componentHandler', [
|
||||
|
Reference in New Issue
Block a user