diff --git a/tests/routings/authenticate.test.js b/tests/routings/authenticate.test.js index 07aa16a..56c9524 100644 --- a/tests/routings/authenticate.test.js +++ b/tests/routings/authenticate.test.js @@ -1,6 +1,8 @@ +import { config } from '../../src/config.js' import { server, setup, shutdown } from '../../src/index.js' beforeAll(() => { + config.database.url = 'mongodb://setup-database:27017/yggdrasil?readPreference=primary&appname=MongoDB%20Compass&directConnection=true&ssl=false' return setup() })