fix pushGroups test

v1.18.x
barisusakli 8 years ago
parent e86db04631
commit 2a97e5478f

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

Loading…
Cancel
Save