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 15:56:23 +0000
committer杨宇千 <crupest@outlook.com>2019-02-23 15:56:23 +0000
commit83b91e17b2d8eb7d05c6a07a43fe94b3bec18a5e (patch)
tree9ac93290917681265cfdcbd4886add430f140db7 /Timeline/ClientApp/src/app/todo-list-page/todo-list-page.component.spec.ts
parentfe5838a966a314b72ecb4d992f86f5fce635a96f (diff)
parente4b394dcfd727fd02c34de88261c813fbe24776f (diff)
downloadtimeline-83b91e17b2d8eb7d05c6a07a43fe94b3bec18a5e.tar.gz
timeline-83b91e17b2d8eb7d05c6a07a43fe94b3bec18a5e.tar.bz2
timeline-83b91e17b2d8eb7d05c6a07a43fe94b3bec18a5e.zip
Merged PR 6: Add icon of todo list and redesign it.
Related work items: #1, #3
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 2da74002..9543f7ad 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'
+ id: 0, title: 'Test title 1', closed: 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'
+ id: 1, title: 'Test title 2', closed: false, detailUrl: 'https://test.org/workitems/1', iconUrl: 'https://test.org/icon/1'
}];
todoListService.getWorkItemList.and.returnValue(asyncData(mockWorkItems));