mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
fixed test for pipeline to match new angular4 changes on simple change (#1868)
This commit is contained in:
@@ -287,7 +287,7 @@ describe('ActivitiTaskList', () => {
|
||||
);
|
||||
|
||||
const landingTaskId = '999';
|
||||
let change = new SimpleChange(null, landingTaskId);
|
||||
let change = new SimpleChange(null, landingTaskId, true);
|
||||
|
||||
component.ngOnChanges({'landingTaskId': change});
|
||||
expect(component.reload).not.toHaveBeenCalled();
|
||||
@@ -308,7 +308,7 @@ describe('ActivitiTaskList', () => {
|
||||
);
|
||||
|
||||
const landingTaskId = '888';
|
||||
let change = new SimpleChange(null, landingTaskId);
|
||||
let change = new SimpleChange(null, landingTaskId, true);
|
||||
|
||||
component.onSuccess.subscribe((res) => {
|
||||
expect(res).toBeDefined();
|
||||
|
Reference in New Issue
Block a user