27 lines
685 B
PHP
27 lines
685 B
PHP
|
<?php
|
||
|
/**
|
||
|
* Application configuration shared by all test types
|
||
|
*/
|
||
|
return [
|
||
|
'language' => 'en-US',
|
||
|
'controllerMap' => [
|
||
|
'fixture' => [
|
||
|
'class' => 'yii\faker\FixtureController',
|
||
|
'fixtureDataPath' => '@tests/codeception/fixtures',
|
||
|
'templatePath' => '@tests/codeception/templates',
|
||
|
'namespace' => 'tests\codeception\fixtures',
|
||
|
],
|
||
|
],
|
||
|
'components' => [
|
||
|
'db' => [
|
||
|
'dsn' => 'mysql:host=localhost;dbname=yii2_basic_tests',
|
||
|
],
|
||
|
'mailer' => [
|
||
|
'useFileTransport' => true,
|
||
|
],
|
||
|
'urlManager' => [
|
||
|
'showScriptName' => true,
|
||
|
],
|
||
|
],
|
||
|
];
|