diff --git a/test/backend/unit/middlewares/admin/SettingsMWs.ts b/test/backend/unit/middlewares/admin/SettingsMWs.ts index fadc5256..ad20f8ad 100644 --- a/test/backend/unit/middlewares/admin/SettingsMWs.ts +++ b/test/backend/unit/middlewares/admin/SettingsMWs.ts @@ -21,6 +21,7 @@ describe('Settings middleware', () => { beforeEach(async () => { await ObjectManagers.reset(); await fs.promises.rm(tempDir, {recursive: true, force: true}); + await ObjectManagers.InitSQLManagers(); }); it('should save empty enforced users settings', (done: (err?: any) => void) => {