diff --git a/test/database/db_connection_count_check.spec.ts b/test/database/db_connection_count_check.spec.ts index 2d0cc4c9..e8865643 100644 --- a/test/database/db_connection_count_check.spec.ts +++ b/test/database/db_connection_count_check.spec.ts @@ -97,7 +97,7 @@ test.group('Db connection count check', (group) => { const result = await healthCheck.run() assert.containsSubset(result, { - message: `Check skipped. Unable to get active connections for ${config.connections.primary.client} dialect`, + message: `Check skipped. Unable to get active connections for ${client.dialect.name} dialect`, status: 'ok', meta: { connection: { name: 'primary', dialect: client.dialect.name },