Qiang Xue
11 years ago
4 changed files with 27 additions and 13 deletions
@ -0,0 +1,17 @@ |
|||||||
|
<?php |
||||||
|
|
||||||
|
use yii\helpers\ArrayHelper; |
||||||
|
|
||||||
|
$config = require(__DIR__ . '/../../config/web.php'); |
||||||
|
|
||||||
|
return ArrayHelper::merge($config, [ |
||||||
|
'components' => [ |
||||||
|
'fixture' => [ |
||||||
|
'class' => 'yii\test\DbFixtureManager', |
||||||
|
'basePath' => '@tests/unit/fixtures', |
||||||
|
], |
||||||
|
'db' => [ |
||||||
|
'dsn' => 'mysql:host=localhost;dbname=yii2_basic_unit', |
||||||
|
], |
||||||
|
], |
||||||
|
]); |
Loading…
Reference in new issue