This commit is contained in:
Baris Usakli
2017-10-30 15:26:12 -04:00
parent 103d9a91a9
commit a500e0019c
10 changed files with 107 additions and 38 deletions

View File

@@ -1133,7 +1133,7 @@ describe('Topic\'s', function () {
});
});
it('should mark all read', function (done) {
it('should mark category topics read', function (done) {
socketTopics.markUnread({ uid: adminUid }, tid, function (err) {
assert.ifError(err);
socketTopics.markCategoryTopicsRead({ uid: adminUid }, topic.categoryId, function (err) {