config.php 658 Bytes
Newer Older
Mark committed
1 2
<?php
/**
3
 * Application configuration shared by all test types
Mark committed
4 5
 */
return [
githubjeka committed
6 7 8 9 10 11
    'controllerMap' => [
        'fixture' => [
            'class' => 'yii\faker\FixtureController',
            'fixtureDataPath' => '@tests/codeception/fixtures',
            'templatePath' => '@tests/codeception/templates',
            'namespace' => 'tests\codeception\fixtures',
12 13
        ],
    ],
14
    'components' => [
15 16 17
        'db' => [
            'dsn' => 'mysql:host=localhost;dbname=yii2_basic_tests',
        ],
18
        'mailer' => [
19 20 21 22 23 24
            'useFileTransport' => true,
        ],
        'urlManager' => [
            'showScriptName' => true,
        ],
    ],
Mark committed
25
];