mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-26 16:46:12 +01:00
test: fix test
This commit is contained in:
@@ -1687,7 +1687,7 @@ describe('Controllers', () => {
|
|||||||
assert.equal(res.statusCode, 200);
|
assert.equal(res.statusCode, 200);
|
||||||
assert(body);
|
assert(body);
|
||||||
const notif = body.notifications[0];
|
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.bodyLong, notifData.bodyLong);
|
||||||
assert.equal(notif.pid, notifData.pid);
|
assert.equal(notif.pid, notifData.pid);
|
||||||
assert.equal(notif.path, nconf.get('relative_path') + notifData.path);
|
assert.equal(notif.path, nconf.get('relative_path') + notifData.path);
|
||||||
|
|||||||
Reference in New Issue
Block a user