Skip to content

Node.js based forum software built for the modern web

test: trust_proxy: true in tests

Barış Soner Uşaklı84cfbf431319
diff --git a/test/mocks/databasemock.js b/test/mocks/databasemock.js
index 0bd6bdc922..cb4ab65ba9 100644
--- a/test/mocks/databasemock.js
+++ b/test/mocks/databasemock.js
@@ -150,6 +150,7 @@ before(async function () {
nconf.set('runJobs', false);
nconf.set('jobsDisabled', false);
nconf.set('acpPluginInstallDisabled', false);
+ nconf.set('trust_proxy', true);
await db.init();