notifications: can also mark it as unread
This commit is contained in:
@@ -225,7 +225,7 @@ describe('database', function () {
|
||||
});
|
||||
|
||||
it('can list by user', function (done) {
|
||||
notificationdb.listByUserIdPaged(USER_0.id, 1, 100, function (error, result) {
|
||||
notificationdb.list({ userId: USER_0.id }, 1, 100, function (error, result) {
|
||||
expect(error).to.equal(null);
|
||||
expect(result).to.be.an('array');
|
||||
expect(result.length).to.equal(2);
|
||||
|
||||
Reference in New Issue
Block a user