make tests work again

This commit is contained in:
Girish Ramakrishnan
2023-08-14 11:08:38 +05:30
parent 4acbb7136a
commit 4b1b38be63
6 changed files with 10 additions and 9 deletions

View File

@@ -59,10 +59,10 @@ exports = module.exports = {
};
async function setupServer() {
await database._clear();
await oidc.stop();
await database.initialize();
await database._clear();
await appstore._setApiServerOrigin(exports.mockApiServerOrigin);
await oidc.stop();
await server.start();
}