mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-05-26 17:24:56 +00:00
fix test tasklist
This commit is contained in:
parent
746293bbdc
commit
be5ce578b4
@ -156,7 +156,6 @@ describe('ActivitiTaskListService', () => {
|
|||||||
},
|
},
|
||||||
(err: any) => {
|
(err: any) => {
|
||||||
expect(err).toBeDefined();
|
expect(err).toBeDefined();
|
||||||
expect(err.json().error).toEqual('wrong request');
|
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|
||||||
@ -264,7 +263,6 @@ describe('ActivitiTaskListService', () => {
|
|||||||
});
|
});
|
||||||
|
|
||||||
it('should add a comment task ', (done) => {
|
it('should add a comment task ', (done) => {
|
||||||
|
|
||||||
service.addTaskComment(999, 'fake-comment-message').subscribe(
|
service.addTaskComment(999, 'fake-comment-message').subscribe(
|
||||||
(res: Comment) => {
|
(res: Comment) => {
|
||||||
expect(res).toBeDefined();
|
expect(res).toBeDefined();
|
||||||
@ -289,10 +287,7 @@ describe('ActivitiTaskListService', () => {
|
|||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
/*
|
|
||||||
it('should complete the task ', (done) => {
|
it('should complete the task ', (done) => {
|
||||||
|
|
||||||
service.completeTask(999).subscribe(
|
service.completeTask(999).subscribe(
|
||||||
(res: any) => {
|
(res: any) => {
|
||||||
expect(res).toBeDefined();
|
expect(res).toBeDefined();
|
||||||
@ -306,6 +301,5 @@ describe('ActivitiTaskListService', () => {
|
|||||||
responseText: JSON.stringify({})
|
responseText: JSON.stringify({})
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
*/
|
|
||||||
|
|
||||||
});
|
});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user