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