2016-01-02 19:13:18 +05:30
|
|
|
<?php
|
|
|
|
/**
|
|
|
|
* Application configuration shared by all applications and test types
|
|
|
|
*/
|
|
|
|
return [
|
|
|
|
'language' => 'en-US',
|
|
|
|
'controllerMap' => [
|
|
|
|
'fixture' => [
|
|
|
|
'class' => 'yii\faker\FixtureController',
|
|
|
|
'fixtureDataPath' => '@tests/codeception/common/fixtures/data',
|
|
|
|
'templatePath' => '@tests/codeception/common/templates/fixtures',
|
|
|
|
'namespace' => 'tests\codeception\common\fixtures',
|
|
|
|
],
|
|
|
|
],
|
|
|
|
'components' => [
|
|
|
|
'db' => [
|
2016-01-03 05:48:37 +05:30
|
|
|
'dsn' => 'mysql:host=localhost;dbname=ely_accounts_test',
|
2016-01-02 19:13:18 +05:30
|
|
|
],
|
|
|
|
'mailer' => [
|
|
|
|
'useFileTransport' => true,
|
|
|
|
],
|
|
|
|
'urlManager' => [
|
|
|
|
'showScriptName' => true,
|
|
|
|
],
|
2016-02-14 23:20:10 +05:30
|
|
|
'redis' => [
|
|
|
|
'database' => 1,
|
|
|
|
],
|
2016-04-24 00:14:10 +05:30
|
|
|
'amqp' => [
|
|
|
|
'user' => 'ely-accounts-tester',
|
|
|
|
'password' => 'tester-password',
|
|
|
|
'vhost' => '/account.ely.by/tests',
|
|
|
|
],
|
2016-01-02 19:13:18 +05:30
|
|
|
],
|
|
|
|
];
|