14 lines
228 B
PHP
14 lines
228 B
PHP
<?php
|
|
|
|
return [
|
|
'components' => [
|
|
'fixture' => [
|
|
'class' => 'yii\test\DbFixtureManager',
|
|
'basePath' => '@app/tests/unit/fixtures',
|
|
],
|
|
'db' => [
|
|
'dsn' => 'mysql:host=localhost;dbname=yii2basic_unit',
|
|
],
|
|
],
|
|
];
|