mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-02 12:05:57 +01:00
breaking: remove deprecated socket.emit('admin.categories.getAll')
This commit is contained in:
@@ -473,14 +473,6 @@ describe('Categories', () => {
|
||||
});
|
||||
});
|
||||
|
||||
it('should get all categories', (done) => {
|
||||
socketCategories.getAll({ uid: adminUid }, {}, (err, data) => {
|
||||
assert.ifError(err);
|
||||
assert(data);
|
||||
done();
|
||||
});
|
||||
});
|
||||
|
||||
it('should get all category names', (done) => {
|
||||
socketCategories.getNames({ uid: adminUid }, {}, (err, data) => {
|
||||
assert.ifError(err);
|
||||
|
||||
Reference in New Issue
Block a user