Skip to content

Node.js based forum software built for the modern web

fix pushGroups test

barisusakli2a97e5478f42
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) {