Skip to content

Commit a448294

Browse files
committed
Update PostgreSQL test configuration defaults to use testdb credentials
1 parent 0605e24 commit a448294

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tests/Integration/AsyncPostgre/AsyncPostgrePoolTest.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,10 @@ function isPostgreSQLAvailable(): bool
1919
}
2020

2121
$config = [
22-
'host' => getenv('POSTGRES_HOST') ?: 'localhost',
23-
'user' => getenv('POSTGRES_USER') ?: 'postgres',
24-
'dbname' => getenv('POSTGRES_DB') ?: 'postgres',
25-
'password' => getenv('POSTGRES_PASSWORD') ?: ''
22+
'host' => getenv('POSTGRES_HOST') ?: 'testdb',
23+
'user' => getenv('POSTGRES_USER') ?: 'testuser',
24+
'dbname' => getenv('POSTGRES_DB') ?: 'testdb',
25+
'password' => getenv('POSTGRES_PASSWORD') ?: 'testpass'
2626
];
2727

2828
$connectionString = implode(' ', array_map(

0 commit comments

Comments
 (0)