From 12e75ff418aed46b40005b4f4c4c8a15a0f91518 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bar=C4=B1=C5=9F=20Soner=20U=C5=9Fakl=C4=B1?= Date: Sun, 21 May 2023 17:44:27 -0400 Subject: [PATCH] test: fix another test --- test/messaging.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/messaging.js b/test/messaging.js index 468900834b..45ed034bc3 100644 --- a/test/messaging.js +++ b/test/messaging.js @@ -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 foo'); assert.strictEqual(notification.nid, `chat_${mocks.users.foo.uid}_${roomId}`); assert.strictEqual(notification.path, `${nconf.get('relative_path')}/chats/${roomId}`); });