diff --git a/test/notifications.js b/test/notifications.js index 0100c78737..c5a22a6d2c 100644 --- a/test/notifications.js +++ b/test/notifications.js @@ -252,7 +252,14 @@ describe('Notifications', function () { }); it('should prune notifications', function (done) { - notifications.prune(done); + notifications.create({ + bodyShort: 'bodyShort', + nid: 'tobedeleted', + path: '/notification/path', + }, function (err) { + assert.ifError(err); + notifications.prune(done); + }); });