Skip to content

Commit

Permalink
[#83] Update DB config
Browse files Browse the repository at this point in the history
  • Loading branch information
joshuapease committed May 8, 2024
1 parent 947fc1e commit 1365185
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion tests/_craft/config/db.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,13 @@
use craft\helpers\App;

return [
'dsn' => App::env('DB_DSN'),
'dsn' => App::env('DB_DSN') ?: null,
'driver' => App::env('DB_DRIVER'),
'server' => App::env('DB_SERVER'),
'port' => App::env('DB_PORT'),
'database' => App::env('DB_DATABASE'),
'user' => App::env('DB_USER'),
'password' => App::env('DB_PASSWORD'),
'schema' => App::env('DB_SCHEMA'),
'tablePrefix' => App::env('DB_TABLE_PREFIX'),
];

0 comments on commit 1365185

Please sign in to comment.