Fixed consistency of db-variable name in config files (#120)
This commit is contained in:
parent
19b6143f05
commit
465c00a8ea
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
$params = require(__DIR__ . '/params.php');
|
||||
$dbParams = require(__DIR__ . '/test_db.php');
|
||||
$db = require(__DIR__ . '/test_db.php');
|
||||
|
||||
/**
|
||||
* Application configuration shared by all test types
|
||||
@ -10,7 +10,7 @@ return [
|
||||
'basePath' => dirname(__DIR__),
|
||||
'language' => 'en-US',
|
||||
'components' => [
|
||||
'db' => $dbParams,
|
||||
'db' => $db,
|
||||
'mailer' => [
|
||||
'useFileTransport' => true,
|
||||
],
|
||||
|
@ -1,6 +1,7 @@
|
||||
<?php
|
||||
|
||||
$params = require(__DIR__ . '/params.php');
|
||||
$db = require(__DIR__ . '/db.php');
|
||||
|
||||
$config = [
|
||||
'id' => 'basic',
|
||||
@ -37,7 +38,7 @@ $config = [
|
||||
],
|
||||
],
|
||||
],
|
||||
'db' => require(__DIR__ . '/db.php'),
|
||||
'db' => $db,
|
||||
/*
|
||||
'urlManager' => [
|
||||
'enablePrettyUrl' => true,
|
||||
|
Loading…
x
Reference in New Issue
Block a user