mirror of
https://codeberg.org/demostf/api.git
synced 2026-06-03 18:04:08 +02:00
lint
This commit is contained in:
parent
68f20ac903
commit
c29fe61ad1
24 changed files with 1242 additions and 50 deletions
|
|
@ -21,7 +21,7 @@ abstract class TestCase extends \PHPUnit\Framework\TestCase {
|
|||
'port' => getenv('DB_PORT'),
|
||||
'driver' => getenv('DB_TYPE'),
|
||||
];
|
||||
if ($connectionParams['driver'] === 'pgsql') {
|
||||
if ('pgsql' === $connectionParams['driver']) {
|
||||
$connectionParams['driver'] = 'pdo_pgsql';
|
||||
}
|
||||
$this->database = DriverManager::getConnection($connectionParams);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue