breaking: remove deprecated methods

This commit is contained in:
Barış Soner Uşaklı
2021-11-23 13:21:18 -05:00
parent 9966a00fbe
commit 79de48c57f
3 changed files with 0 additions and 108 deletions

View File

@@ -131,14 +131,6 @@ describe('socket.io', () => {
});
});
it('should get more unread topics', (done) => {
io.emit('topics.loadMoreSortedTopics', { after: 0, count: 10, direction: 1, sort: 'unread' }, (err, result) => {
assert.ifError(err);
assert(Array.isArray(result.topics));
done();
});
});
it('should ban a user', (done) => {
const socketUser = require('../src/socket.io/user');
socketUser.banUsers({ uid: adminUid }, { uids: [regularUid], reason: 'spammer' }, (err) => {