2013-12-30 22:22:18 +08:00
|
|
|
<?php
|
|
|
|
/**
|
2014-08-17 22:45:58 +08:00
|
|
|
* Application configuration shared by all test types
|
2013-12-30 22:22:18 +08:00
|
|
|
*/
|
|
|
|
return [
|
2015-05-13 19:14:06 +08:00
|
|
|
'language' => 'en-US',
|
2015-01-29 20:20:45 +08:00
|
|
|
'controllerMap' => [
|
|
|
|
'fixture' => [
|
|
|
|
'class' => 'yii\faker\FixtureController',
|
|
|
|
'fixtureDataPath' => '@tests/codeception/fixtures',
|
|
|
|
'templatePath' => '@tests/codeception/templates',
|
|
|
|
'namespace' => 'tests\codeception\fixtures',
|
2015-01-29 19:49:12 +08:00
|
|
|
],
|
|
|
|
],
|
2014-03-16 12:46:16 +08:00
|
|
|
'components' => [
|
2014-08-25 06:00:49 +08:00
|
|
|
'db' => [
|
|
|
|
'dsn' => 'mysql:host=localhost;dbname=yii2_basic_tests',
|
|
|
|
],
|
2014-06-26 22:28:57 +08:00
|
|
|
'mailer' => [
|
2014-03-16 12:46:16 +08:00
|
|
|
'useFileTransport' => true,
|
|
|
|
],
|
|
|
|
'urlManager' => [
|
|
|
|
'showScriptName' => true,
|
|
|
|
],
|
|
|
|
],
|
2013-12-30 22:22:18 +08:00
|
|
|
];
|