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