diff --git a/server/test/medium/globalSetup.ts b/server/test/medium/globalSetup.ts index 841abfa8b0..94ed131d87 100644 --- a/server/test/medium/globalSetup.ts +++ b/server/test/medium/globalSetup.ts @@ -12,7 +12,7 @@ const globalSetup = async () => { .withEnvironment({ POSTGRES_PASSWORD: 'postgres', POSTGRES_USER: 'postgres', - POSTGRES_DB: 'immich', + POSTGRES_DB: 'dbname', }) .withCommand([ 'postgres', @@ -35,7 +35,7 @@ const globalSetup = async () => { .start(); const postgresPort = postgresContainer.getMappedPort(5432); - const postgresUrl = `postgres://postgres:postgres@localhost:${postgresPort}/immich`; + const postgresUrl = `postgres://postgres:postgres@localhost:${postgresPort}/dbname`; process.env.IMMICH_TEST_POSTGRES_URL = postgresUrl;