move appstore urls into appstore.js
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
'use strict';
|
||||
|
||||
const constants = require('../../constants.js'),
|
||||
const appstore = require('../../appstore.js'),
|
||||
constants = require('../../constants.js'),
|
||||
database = require('../../database.js'),
|
||||
expect = require('expect.js'),
|
||||
fs = require('fs'),
|
||||
@@ -60,7 +61,7 @@ async function setupServer() {
|
||||
await database._clear();
|
||||
await oidc.stop();
|
||||
await database.initialize();
|
||||
await settings._setApiServerOrigin(exports.mockApiServerOrigin);
|
||||
await appstore._setApiServerOrigin(exports.mockApiServerOrigin);
|
||||
await server.start();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user