mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-17 22:57:21 +01:00
Fixed tests using crookedneighbor's code
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user