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