fix pushGroups test

This commit is contained in:
barisusakli
2016-11-18 12:10:22 +03:00
parent e86db04631
commit 2a97e5478f

View File

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