_console.php 744 Bytes
Newer Older
1 2 3
<?php

return yii\helpers\ArrayHelper::merge(
4 5 6 7 8 9 10 11 12 13
    require(__DIR__ . '/../../../common/config/main.php'),
    require(__DIR__ . '/../../../common/config/main-local.php'),
    require(__DIR__ . '/../../../console/config/main.php'),
    require(__DIR__ . '/../../../console/config/main-local.php'),
    [
        'components' => [
            'db' => [
                'dsn' => 'mysql:host=localhost;dbname=yii2_advanced_unit',
            ],
        ],
14 15 16
        'controllerMap' => [
            'fixture' => [
                'class' => 'yii\faker\FixtureController',
Alexander Makarov committed
17
                'fixtureDataPath' => '@frontend/tests/unit/fixtures/data',
18 19 20
                'templatePath' => '@common/tests/templates/fixtures'
            ],
        ],
21
    ]
22
);