mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-05 05:25:49 +01:00
renamed .list to .getGroupsFromSet
This commit is contained in:
@@ -34,7 +34,7 @@ describe('Groups', function() {
|
|||||||
|
|
||||||
describe('.list()', function() {
|
describe('.list()', function() {
|
||||||
it('should list the groups present', function(done) {
|
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);
|
if (err) return done(err);
|
||||||
|
|
||||||
assert.equal(groups.length, 2);
|
assert.equal(groups.length, 2);
|
||||||
|
|||||||
Reference in New Issue
Block a user