|
|
|
@ -1687,7 +1687,7 @@ describe('Controllers', () => {
|
|
|
|
|
assert.equal(res.statusCode, 200);
|
|
|
|
|
assert(body);
|
|
|
|
|
const notif = body.notifications[0];
|
|
|
|
|
assert.equal(notif.bodyShort, notifData.bodyShort);
|
|
|
|
|
assert.equal(notif.bodyShort, '<strong>test1</strong> has posted a reply to: <strong>test2</strong>');
|
|
|
|
|
assert.equal(notif.bodyLong, notifData.bodyLong);
|
|
|
|
|
assert.equal(notif.pid, notifData.pid);
|
|
|
|
|
assert.equal(notif.path, nconf.get('relative_path') + notifData.path);
|
|
|
|
|