From 2a97e5478f42d1642a70eed006fa4e233ffc70a5 Mon Sep 17 00:00:00 2001 From: barisusakli Date: Fri, 18 Nov 2016 12:10:22 +0300 Subject: [PATCH] fix pushGroups test --- test/notifications.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/notifications.js b/test/notifications.js index 4a4f6c320d..5ccf0b1248 100644 --- a/test/notifications.js +++ b/test/notifications.js @@ -81,7 +81,7 @@ describe('Notifications', function () { }); it('should push a notification to groups', function (done) { - notifications.pushGroup(notification, ['registered-users', 'administrators'], function (err) { + notifications.pushGroups(notification, ['registered-users', 'administrators'], function (err) { assert.ifError(err); setTimeout(function () { db.isSortedSetMember('uid:' + uid + ':notifications:unread', notification.nid, function (err, isMember) {