Node.js based forum software built for the modern web
test: fix relative_path test
Barış Soner Uşaklı99407bb097ba
diff --git a/test/messaging.js b/test/messaging.jsindex 7a8c60bd1c..f300396fe0 100644--- a/test/messaging.js+++ b/test/messaging.js@@ -644,7 +644,7 @@ describe('Messaging Library', () => {});assert.strictEqual(result.body.chatWithMessage,- `[[modules:chat.chat-with-usernames-1, /uid/${uid}, <svg/onload=alert(document.location);]]`+ `[[modules:chat.chat-with-usernames-1, ${nconf.get('relative_path')}/uid/${uid}, <svg/onload=alert(document.location);]]`);meta.config.showFullnameAsDisplayName = oldValue;