mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-27 09:06:15 +01:00
breaking: remove deprecated methods
This commit is contained in:
@@ -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) => {
|
||||
|
||||
Reference in New Issue
Block a user