configs fixed and improved

This commit is contained in:
Mark 2013-12-03 11:06:44 +04:00
parent d2214e4f0a
commit 805033eb4b
3 changed files with 16 additions and 2 deletions

View File

@ -1,3 +1,9 @@
<?php <?php
return []; return [
'components' => [
'db' => [
'dsn' => 'mysql:host=localhost;dbname=yii2basic_acceptance',
],
],
];

View File

@ -1,3 +1,9 @@
<?php <?php
return []; return [
'components' => [
'db' => [
'dsn' => 'mysql:host=localhost;dbname=yii2basic_functional',
],
],
];

View File

@ -1,5 +1,7 @@
<?php <?php
Yii::setAlias('tests', realpath(__DIR__ . '/../tests'));
$config = require(__DIR__ . '/web.php'); $config = require(__DIR__ . '/web.php');
// ... customize $config for the "test" environment here... // ... customize $config for the "test" environment here...