diff --git a/test/api/pushNotifications.coffee b/test/api/pushNotifications.coffee index 9b43ca08c7..4a1cd97fca 100644 --- a/test/api/pushNotifications.coffee +++ b/test/api/pushNotifications.coffee @@ -94,6 +94,8 @@ describe "Push-Notifications", -> cb(null, recipient) find: (arg, arg2, cb) -> cb(null, [recipient]) + update: (arg, arg2) -> + { exec: -> true} } groups.__set__('User', userMock) done()