From e4d8f3eed02faa386b58928fb2dbf921db64d1e2 Mon Sep 17 00:00:00 2001 From: Behzad Rabiei <53224485+Behzad-rabiei@users.noreply.github.com> Date: Mon, 29 Jan 2024 20:12:24 +0330 Subject: [PATCH] [CI]: update tests --- __tests__/unit/database/services/guildMember.test.ts | 2 +- __tests__/unit/database/services/rawInfo.test.ts | 2 +- __tests__/unit/database/services/role.test.ts | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/__tests__/unit/database/services/guildMember.test.ts b/__tests__/unit/database/services/guildMember.test.ts index b222ba3f..40cdd728 100644 --- a/__tests__/unit/database/services/guildMember.test.ts +++ b/__tests__/unit/database/services/guildMember.test.ts @@ -9,7 +9,7 @@ setupTestDB(); describe('guildMember service', () => { let connection: Connection; beforeAll(async () => { - connection = await DatabaseManager.getInstance().getTenantDb('connection-1'); + connection = await DatabaseManager.getInstance().getTenantDb('connection-2'); }); afterAll(async () => { await connection.close(); diff --git a/__tests__/unit/database/services/rawInfo.test.ts b/__tests__/unit/database/services/rawInfo.test.ts index 6cc83584..d4dde597 100644 --- a/__tests__/unit/database/services/rawInfo.test.ts +++ b/__tests__/unit/database/services/rawInfo.test.ts @@ -9,7 +9,7 @@ setupTestDB(); describe('rawInfo service', () => { let connection: Connection; beforeAll(async () => { - connection = await DatabaseManager.getInstance().getTenantDb('connection-1'); + connection = await DatabaseManager.getInstance().getTenantDb('connection-3'); }); afterAll(async () => { await connection.close(); diff --git a/__tests__/unit/database/services/role.test.ts b/__tests__/unit/database/services/role.test.ts index 0bb1856c..46811d38 100644 --- a/__tests__/unit/database/services/role.test.ts +++ b/__tests__/unit/database/services/role.test.ts @@ -9,7 +9,7 @@ setupTestDB(); describe('role service', () => { let connection: Connection; beforeAll(async () => { - connection = await DatabaseManager.getInstance().getTenantDb('connection-1'); + connection = await DatabaseManager.getInstance().getTenantDb('connection-4'); }); afterAll(async () => { await connection.close();