mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-26 08:36:12 +01:00
test: fix another test
This commit is contained in:
@@ -406,7 +406,7 @@ describe('Messaging Library', () => {
|
||||
const data = await User.notifications.get(mocks.users.herp.uid);
|
||||
assert(data.unread[0]);
|
||||
const notification = data.unread[0];
|
||||
assert.strictEqual(notification.bodyShort, '[[notifications:new_message_from, foo]]');
|
||||
assert.strictEqual(notification.bodyShort, 'New message from <strong>foo</strong>');
|
||||
assert.strictEqual(notification.nid, `chat_${mocks.users.foo.uid}_${roomId}`);
|
||||
assert.strictEqual(notification.path, `${nconf.get('relative_path')}/chats/${roomId}`);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user