test: fix db require blowing up tests

This commit is contained in:
Barış Soner Uşaklı
2022-02-17 15:35:08 -05:00
parent fe610f0daf
commit d010a61854
2 changed files with 2 additions and 2 deletions

View File

@@ -6,7 +6,6 @@ const databaseName = nconf.get('database');
const winston = require('winston');
if (!databaseName) {
winston.error(new Error('stack').stack);
winston.error(new Error('Database type not set! Run ./nodebb setup'));
process.exit();
}