mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-01 03:26:04 +01:00
fix pushGroups test
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user