move dashboard setting into dashboard.js
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
const apps = require('../apps.js'),
|
||||
appstore = require('../appstore.js'),
|
||||
constants = require('../constants.js'),
|
||||
dashboard = require('../dashboard.js'),
|
||||
database = require('../database.js'),
|
||||
domains = require('../domains.js'),
|
||||
expect = require('expect.js'),
|
||||
@@ -214,8 +215,7 @@ async function databaseSetup() {
|
||||
await database.initialize();
|
||||
await database._clear();
|
||||
await appstore._setApiServerOrigin(exports.mockApiServerOrigin);
|
||||
await settings.setDashboardLocation(exports.dashboardDomain, exports.dashboardFqdn);
|
||||
await settings.initCache();
|
||||
await dashboard.setLocation(exports.dashboardDomain, exports.dashboardFqdn);
|
||||
}
|
||||
|
||||
async function domainSetup() {
|
||||
|
||||
Reference in New Issue
Block a user