Skip to content

Commit

Permalink
update mock
Browse files Browse the repository at this point in the history
  • Loading branch information
mertalev committed Jan 24, 2025
1 parent 264b446 commit ffc6586
Showing 1 changed file with 15 additions and 6 deletions.
21 changes: 15 additions & 6 deletions server/src/services/database.service.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,11 @@ describe(DatabaseService.name, () => {
database: {
config: {
kysely: {
dialect: expect.any(PostgresJSDialect),
log: ['error'],
host: 'database',
port: 5432,
user: 'postgres',
password: 'postgres',
database: 'immich',
},
typeorm: {
connectionType: 'parts',
Expand Down Expand Up @@ -298,8 +301,11 @@ describe(DatabaseService.name, () => {
database: {
config: {
kysely: {
dialect: expect.any(PostgresJSDialect),
log: ['error'],
host: 'database',
port: 5432,
user: 'postgres',
password: 'postgres',
database: 'immich',
},
typeorm: {
connectionType: 'parts',
Expand Down Expand Up @@ -328,8 +334,11 @@ describe(DatabaseService.name, () => {
database: {
config: {
kysely: {
dialect: expect.any(PostgresJSDialect),
log: ['error'],
host: 'database',
port: 5432,
user: 'postgres',
password: 'postgres',
database: 'immich',
},
typeorm: {
connectionType: 'parts',
Expand Down

0 comments on commit ffc6586

Please sign in to comment.