diff --git a/packages/backend/src/tests/app.ts b/packages/backend/src/tests/app.ts index 5366a6d0f7..4b3b8f5608 100644 --- a/packages/backend/src/tests/app.ts +++ b/packages/backend/src/tests/app.ts @@ -53,6 +53,11 @@ export const createTestApp = async ( .reply(200, { recovery_link: 'https://example.com' }) .persist() + nock(config.authAdminApiUrl) + .post('') + .reply(200, { data: { createAuthTenant: { success: true } } }) + .persist() + const app = new App(container) await start(container, app) @@ -66,7 +71,6 @@ export const createTestApp = async ( }).then((res) => res.data) }) .persist() - const knex = await container.use('knex') const httpLink = createHttpLink({