|
|
@ -57,7 +57,7 @@ describe('notice-controller', function () { |
|
|
|
|
|
|
|
|
|
|
|
noticeController.setNoticesList(testList) |
|
|
|
noticeController.setNoticesList(testList) |
|
|
|
|
|
|
|
|
|
|
|
await noticeController.markAllNoticesRead() |
|
|
|
noticeController.markAllNoticesRead() |
|
|
|
|
|
|
|
|
|
|
|
const unreadNotices = noticeController.getUnreadNotices() |
|
|
|
const unreadNotices = noticeController.getUnreadNotices() |
|
|
|
assert.equal(unreadNotices.length, 0) |
|
|
|
assert.equal(unreadNotices.length, 0) |
|
|
|