create a notif before pruning

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

@ -252,8 +252,15 @@ describe('Notifications', function () {
}); });
it('should prune notifications', function (done) { it('should prune notifications', function (done) {
notifications.create({
bodyShort: 'bodyShort',
nid: 'tobedeleted',
path: '/notification/path',
}, function (err) {
assert.ifError(err);
notifications.prune(done); notifications.prune(done);
}); });
});
after(function (done) { after(function (done) {

Loading…
Cancel
Save