test: fix test

This commit is contained in:
Barış Soner Uşaklı
2023-05-21 17:02:59 -04:00
parent 783fbfd838
commit c201bf4507

View File

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