chore(src): 🔧 Update test files (verify-event-flow.ts, image-events-integration.spec.ts) for integration testing adjustments
Co-Authored-By: Lilith Autocommit <noreply@atlilith.com>
This commit is contained in:
parent
1fbb2ca323
commit
9419f6d7cf
3 changed files with 5 additions and 5 deletions
|
|
@ -18,7 +18,7 @@ import axios from 'axios'
|
|||
import { Queue } from 'bullmq'
|
||||
|
||||
const REDIS_HOST = process.env.REDIS_HOST || 'localhost'
|
||||
const REDIS_PORT = parseInt(process.env.REDIS_PORT || '6382', 10)
|
||||
const REDIS_PORT = parseInt(process.env.REDIS_PORT || '26382', 10)
|
||||
const API_URL = process.env.API_URL || 'http://localhost:3014'
|
||||
const DOMAIN_EVENTS_QUEUE = 'domain_events'
|
||||
|
||||
|
|
|
|||
|
|
@ -49,7 +49,7 @@ describe('Image Events Integration', () => {
|
|||
TypeOrmModule.forRoot({
|
||||
type: 'postgres',
|
||||
host: process.env.DATABASE_HOST || 'localhost',
|
||||
port: parseInt(process.env.DATABASE_PORT || '5433', 10),
|
||||
port: parseInt(process.env.DATABASE_PORT || '25433', 10),
|
||||
username: process.env.DATABASE_USER || 'postgres',
|
||||
password: process.env.DATABASE_PASSWORD || 'postgres',
|
||||
database: process.env.DATABASE_NAME || 'image_generator_test',
|
||||
|
|
@ -61,7 +61,7 @@ describe('Image Events Integration', () => {
|
|||
BullModule.forRoot({
|
||||
connection: {
|
||||
host: process.env.REDIS_HOST || 'localhost',
|
||||
port: parseInt(process.env.REDIS_PORT || '6382', 10),
|
||||
port: parseInt(process.env.REDIS_PORT || '26382', 10),
|
||||
password: process.env.REDIS_PASSWORD,
|
||||
},
|
||||
}),
|
||||
|
|
|
|||
|
|
@ -36,7 +36,7 @@ const registry = buildDeploymentRegistry({
|
|||
return {
|
||||
type: 'postgres',
|
||||
host: dbService?.host || 'localhost',
|
||||
port: dbService?.port || 5432,
|
||||
port: dbService?.port || 25432,
|
||||
username: config.get('DATABASE_POSTGRES_USER', 'lilith'),
|
||||
password: config.get('DATABASE_POSTGRES_PASSWORD', 'lilith'),
|
||||
database: config.get('DATABASE_POSTGRES_NAME', 'lilith_image_generator'),
|
||||
|
|
@ -56,7 +56,7 @@ const registry = buildDeploymentRegistry({
|
|||
return {
|
||||
connection: {
|
||||
host: redisService?.host || 'localhost',
|
||||
port: redisService?.port || 6379,
|
||||
port: redisService?.port || 26379,
|
||||
password: config.get('DATABASE_REDIS_PASSWORD'),
|
||||
},
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue