2013-12-02 19:23:32 +08:00
|
|
|
<?php
|
|
|
|
|
2013-12-17 07:27:33 +08:00
|
|
|
// configuration adjustments for codeception unit tests. Will be merged with web.php config.
|
|
|
|
|
2013-12-02 19:23:32 +08:00
|
|
|
return [
|
|
|
|
'components' => [
|
|
|
|
'fixture' => [
|
|
|
|
'class' => 'yii\test\DbFixtureManager',
|
2013-12-17 07:27:33 +08:00
|
|
|
'basePath' => '@tests/unit/fixtures',
|
2013-12-02 19:23:32 +08:00
|
|
|
],
|
|
|
|
'db' => [
|
|
|
|
'dsn' => 'mysql:host=localhost;dbname=yii2basic_unit',
|
|
|
|
],
|
|
|
|
],
|
|
|
|
];
|