_console.php 722 Bytes
Newer Older
Mark committed
1 2 3
<?php

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