Node.js based forum software built for the modern web
more linting
psychobunny64468a6f1697
diff --git a/tests/mocks/databasemock.js b/tests/mocks/databasemock.jsindex e694a9c9ba..d3dea94a8c 100644--- a/tests/mocks/databasemock.js+++ b/tests/mocks/databasemock.js@@ -5,10 +5,9 @@(function(module) {'use strict';- /*global before*/+ /*global require, before*/- var utils = require('./../../public/src/utils.js'),- path = require('path'),+ var path = require('path'),nconf = require('nconf'),winston = require('winston'),errorText;@@ -30,23 +29,23 @@if(!testDbConfig){errorText = 'test_database is not defined';winston.info(- "\n===========================================================\n"+- "Please, add parameters for test database in config.json\n"+- "For example (redis):\n"++ '\n===========================================================\n'++ 'Please, add parameters for test database in config.json\n'++ 'For example (redis):\n'+'"test_database": {' + '\n' +' "host": "127.0.0.1",' + '\n' +' "port": "6379",' + '\n' +' "password": "",' + '\n' +' "database": "1"' + '\n' +'}\n'+- " or (mongo):\n" ++ ' or (mongo):\n' +'"test_database": {' + '\n' +' "host": "127.0.0.1",' + '\n' +' "port": "27017",' + '\n' +' "password": "",' + '\n' +' "database": "1"' + '\n' +'}\n'+- "==========================================================="+ '===========================================================');winston.error(errorText);throw new Error(errorText);