aboutsummaryrefslogtreecommitdiff
path: root/Timeline/ClientApp/src/app/todo-list-page/todo-list-page.component.spec.ts
diff options
context:
space:
mode:
author杨宇千 <crupest@outlook.com>2019-02-23 16:40:15 +0000
committer杨宇千 <crupest@outlook.com>2019-02-23 16:40:15 +0000
commit5e3896fee6b0d376cb7c3f1927596a8ed00e40e4 (patch)
tree2c8bceaf67b0545ddb7fd5ee043e31a003f51e13 /Timeline/ClientApp/src/app/todo-list-page/todo-list-page.component.spec.ts
parentbb537be81802998820b9ee07d7d887d4bd5c0665 (diff)
parenta28471352e577ebc03b47772a439d3a3eff005c6 (diff)
downloadtimeline-5e3896fee6b0d376cb7c3f1927596a8ed00e40e4.tar.gz
timeline-5e3896fee6b0d376cb7c3f1927596a8ed00e40e4.tar.bz2
timeline-5e3896fee6b0d376cb7c3f1927596a8ed00e40e4.zip
Merged PR 8: Fix 7 bug!
Fixed! Related work items: #7
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));