diff --git a/packages/backend/src/tests/app.ts b/packages/backend/src/tests/app.ts index dda3a21c6b..e6a610c4ee 100644 --- a/packages/backend/src/tests/app.ts +++ b/packages/backend/src/tests/app.ts @@ -53,7 +53,11 @@ export const createTestApp = async ( .reply(200, { recovery_link: 'https://example.com' }) .persist() - nock(config.authAdminApiUrl).post('/').reply(200).persist() + nock(config.authAdminApiUrl) + .post('/') + .matchHeader('Accept', '*/*') + .reply(200) + .persist() logger.info({ nocks: nock.activeMocks() }, 'active mocks') const app = new App(container)