mirror of
https://github.com/immich-app/immich.git
synced 2025-07-31 15:08:44 -04:00
chore: use non-default database name for medium tests
This commit is contained in:
parent
c707f9cef4
commit
66bde40ef8
@ -12,7 +12,7 @@ const globalSetup = async () => {
|
|||||||
.withEnvironment({
|
.withEnvironment({
|
||||||
POSTGRES_PASSWORD: 'postgres',
|
POSTGRES_PASSWORD: 'postgres',
|
||||||
POSTGRES_USER: 'postgres',
|
POSTGRES_USER: 'postgres',
|
||||||
POSTGRES_DB: 'immich',
|
POSTGRES_DB: 'dbname',
|
||||||
})
|
})
|
||||||
.withCommand([
|
.withCommand([
|
||||||
'postgres',
|
'postgres',
|
||||||
@ -35,7 +35,7 @@ const globalSetup = async () => {
|
|||||||
.start();
|
.start();
|
||||||
|
|
||||||
const postgresPort = postgresContainer.getMappedPort(5432);
|
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;
|
process.env.IMMICH_TEST_POSTGRES_URL = postgresUrl;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user