create a notif before pruning

v1.18.x
Barış Soner Uşaklı 8 years ago
parent 6fdad4b002
commit 33023ea419

@ -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);
});
});

Loading…
Cancel
Save