diff --git a/tests/src/app.module.ts b/tests/src/app.module.ts index 16bb1e5..d2901f9 100644 --- a/tests/src/app.module.ts +++ b/tests/src/app.module.ts @@ -9,7 +9,7 @@ import { DogsModule } from './dogs/dogs.module'; MongooseModule.forRoot('mongodb://localhost:27017/test'), TenancyModule.forRoot({ tenantIdentifier: 'X-TENANT-ID', - options: {}, + options: () => { }, uri: (tenantId: string) => `mongodb://localhost/test-tenant-${tenantId}`, }), CatsModule,