From d69225d85e0555d9c9639cd8ae644374845df4e2 Mon Sep 17 00:00:00 2001 From: Sandeep K Nair Date: Tue, 15 Sep 2020 15:51:26 +0530 Subject: [PATCH] Updated the test module --- tests/src/app.module.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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,