mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-04 21:15:55 +01:00
renamed .list to .getGroupsFromSet
This commit is contained in:
@@ -34,7 +34,7 @@ describe('Groups', function() {
|
||||
|
||||
describe('.list()', function() {
|
||||
it('should list the groups present', function(done) {
|
||||
Groups.list(0, 0, -1, function(err, groups) {
|
||||
Groups.getGroupsFromSet('groups:createtime', 0, 0, -1, function(err, groups) {
|
||||
if (err) return done(err);
|
||||
|
||||
assert.equal(groups.length, 2);
|
||||
|
||||
Reference in New Issue
Block a user