mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-30 18:46:01 +01:00
closes #5516
This commit is contained in:
@@ -1181,6 +1181,14 @@ describe('Topic\'s', function () {
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
it('should not do anything if tids is empty array', function (done) {
|
||||
socketTopics.markAsRead({ uid: adminUid }, [], function (err, markedRead) {
|
||||
assert.ifError(err);
|
||||
assert(!markedRead);
|
||||
done();
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
describe('tags', function () {
|
||||
|
||||
Reference in New Issue
Block a user