Skip to content

Node.js based forum software built for the modern web

fix: another test fix

Barış Soner Uşaklıf2907908c904
diff --git a/test/mocks/databasemock.js b/test/mocks/databasemock.js
index 87c33f7396..f78b73477d 100644
--- a/test/mocks/databasemock.js
+++ b/test/mocks/databasemock.js
@@ -135,7 +135,7 @@ before(async function () {
nconf.set('theme_templates_path', meta.config['theme:templates'] ? path.join(nconf.get('themes_path'), meta.config['theme:id'], meta.config['theme:templates']) : nconf.get('base_templates_path'));
nconf.set('theme_config', path.join(nconf.get('themes_path'), 'nodebb-theme-persona', 'theme.json'));
nconf.set('bcrypt_rounds', 1);
-
+ nconf.set('socket.io:origins', '*:*');
nconf.set('version', packageInfo.version);
await meta.dependencies.check();