Fix config.js new shape
This commit is contained in:
parent
1d062075c4
commit
90328d5faf
|
@ -13,7 +13,7 @@ let Storage = require('./storage');
|
|||
module.exports = function(config_hash) {
|
||||
Logger.setup(config_hash.logs);
|
||||
|
||||
let config = Config(config_hash);
|
||||
let config = new Config(config_hash);
|
||||
let storage = new Storage(config);
|
||||
let auth = Auth(config);
|
||||
let app = express();
|
||||
|
|
|
@ -34,7 +34,7 @@ let packages = [
|
|||
|
||||
describe('search', function() {
|
||||
before(function() {
|
||||
let config = Config(config_hash);
|
||||
let config = new Config(config_hash);
|
||||
this.storage = new Storage(config);
|
||||
Search.configureStorage(this.storage);
|
||||
packages.map(function(item) {
|
||||
|
|
Loading…
Reference in New Issue