From bbb968922d992b42dbe4d50a40b6e41d9b0bbce9 Mon Sep 17 00:00:00 2001 From: barisusakli Date: Tue, 8 Nov 2016 18:52:56 +0300 Subject: [PATCH] fix test --- test/topics.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/topics.js b/test/topics.js index 2d378ab471..01ee3c0aeb 100644 --- a/test/topics.js +++ b/test/topics.js @@ -644,7 +644,7 @@ describe('Topic\'s', function () { }); it('should load more from custom set', function (done) { - socketTopics.loadMoreRecentTopics({uid: adminUid}, {set: 'uid:' + adminUid + ':topics', after: 0}, function (err, data) { + socketTopics.loadMoreFromSet({uid: adminUid}, {set: 'uid:' + adminUid + ':topics', after: 0}, function (err, data) { assert.ifError(err); assert(data); assert(Array.isArray(data.topics));