Node.js based forum software built for the modern web
create a notif before pruning
Barış Soner Uşaklı33023ea419c4
diff --git a/test/notifications.js b/test/notifications.jsindex 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);+ });});