aboutsummaryrefslogtreecommitdiff
path: root/Timeline/ClientApp/src/app/todo-list-page/todo-list-page.component.spec.ts
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2019-02-24 00:39:23 +0800
committercrupest <crupest@outlook.com>2019-02-24 00:39:23 +0800
commiteb313a4f551b6e4c7c756893985a49bff8ab07ca (patch)
treee29e6a6ca5d8835bf4574fb657c4d956ba30370c /Timeline/ClientApp/src/app/todo-list-page/todo-list-page.component.spec.ts
parent5f3d6353e8e26879c538c272a151658fe38e0fca (diff)
downloadtimeline-eb313a4f551b6e4c7c756893985a49bff8ab07ca.tar.gz
timeline-eb313a4f551b6e4c7c756893985a49bff8ab07ca.tar.bz2
timeline-eb313a4f551b6e4c7c756893985a49bff8ab07ca.zip
Fixed!
Diffstat (limited to 'Timeline/ClientApp/src/app/todo-list-page/todo-list-page.component.spec.ts')
-rw-r--r--Timeline/ClientApp/src/app/todo-list-page/todo-list-page.component.spec.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/Timeline/ClientApp/src/app/todo-list-page/todo-list-page.component.spec.ts b/Timeline/ClientApp/src/app/todo-list-page/todo-list-page.component.spec.ts
index 590c5ef0..aed32c9a 100644
--- a/Timeline/ClientApp/src/app/todo-list-page/todo-list-page.component.spec.ts
+++ b/Timeline/ClientApp/src/app/todo-list-page/todo-list-page.component.spec.ts
@@ -30,9 +30,9 @@ describe('TodoListPageComponent', () => {
const todoListService: jasmine.SpyObj<TodoListService> = jasmine.createSpyObj('TodoListService', ['getWorkItemList']);
mockWorkItems = [{
- id: 0, title: 'Test title 1', closed: true, detailUrl: 'https://test.org/workitems/0', iconUrl: 'https://test.org/icon/0'
+ id: 0, title: 'Test title 1', isCompleted: true, detailUrl: 'https://test.org/workitems/0', iconUrl: 'https://test.org/icon/0'
}, {
- id: 1, title: 'Test title 2', closed: false, detailUrl: 'https://test.org/workitems/1', iconUrl: 'https://test.org/icon/1'
+ id: 1, title: 'Test title 2', isCompleted: false, detailUrl: 'https://test.org/workitems/1', iconUrl: 'https://test.org/icon/1'
}];
todoListService.getWorkItemList.and.returnValue(asyncData(mockWorkItems));