diff --git a/config/test.php b/config/test.php index a92c2fc..75201e5 100644 --- a/config/test.php +++ b/config/test.php @@ -1,6 +1,6 @@ dirname(__DIR__), 'language' => 'en-US', 'components' => [ - 'db' => $dbParams, + 'db' => $db, 'mailer' => [ 'useFileTransport' => true, ], diff --git a/config/web.php b/config/web.php index 2bc8561..e03d406 100644 --- a/config/web.php +++ b/config/web.php @@ -1,6 +1,7 @@ 'basic', @@ -37,7 +38,7 @@ $config = [ ], ], ], - 'db' => require(__DIR__ . '/db.php'), + 'db' => $db, /* 'urlManager' => [ 'enablePrettyUrl' => true,