diff options
notice-controller - make markAllNoticesRead sync
Diffstat (limited to 'test')
-rw-r--r-- | test/unit/app/controllers/notice-controller-test.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/unit/app/controllers/notice-controller-test.js b/test/unit/app/controllers/notice-controller-test.js index d550d86cd..caa50a03e 100644 --- a/test/unit/app/controllers/notice-controller-test.js +++ b/test/unit/app/controllers/notice-controller-test.js @@ -57,7 +57,7 @@ describe('notice-controller', function () { noticeController.setNoticesList(testList) - await noticeController.markAllNoticesRead() + noticeController.markAllNoticesRead() const unreadNotices = noticeController.getUnreadNotices() assert.equal(unreadNotices.length, 0) |