2016-01-02 19:13:18 +05:30
|
|
|
|
<?php
|
|
|
|
|
return [
|
|
|
|
|
'language' => 'en-US',
|
|
|
|
|
'controllerMap' => [
|
|
|
|
|
'fixture' => [
|
2016-09-19 03:31:19 +05:30
|
|
|
|
'class' => yii\faker\FixtureController::class,
|
2016-01-02 19:13:18 +05:30
|
|
|
|
'fixtureDataPath' => '@tests/codeception/common/fixtures/data',
|
|
|
|
|
'templatePath' => '@tests/codeception/common/templates/fixtures',
|
|
|
|
|
'namespace' => 'tests\codeception\common\fixtures',
|
|
|
|
|
],
|
|
|
|
|
],
|
|
|
|
|
'components' => [
|
|
|
|
|
'db' => [
|
2016-07-15 03:33:13 +05:30
|
|
|
|
'dsn' => 'mysql:host=testdb;dbname=ely_accounts_test',
|
|
|
|
|
'username' => 'ely_accounts_tester',
|
|
|
|
|
'password' => 'ely_accounts_tester_password',
|
2016-01-02 19:13:18 +05:30
|
|
|
|
],
|
|
|
|
|
'mailer' => [
|
|
|
|
|
'useFileTransport' => true,
|
|
|
|
|
],
|
|
|
|
|
'urlManager' => [
|
|
|
|
|
'showScriptName' => true,
|
|
|
|
|
],
|
2016-02-14 23:20:10 +05:30
|
|
|
|
'redis' => [
|
2016-07-15 03:33:13 +05:30
|
|
|
|
'hostname' => 'testredis',
|
2016-02-14 23:20:10 +05:30
|
|
|
|
],
|
2016-04-24 00:14:10 +05:30
|
|
|
|
'amqp' => [
|
2016-07-15 03:33:13 +05:30
|
|
|
|
'host' => 'testrabbit',
|
2016-04-24 00:14:10 +05:30
|
|
|
|
'user' => 'ely-accounts-tester',
|
|
|
|
|
'password' => 'tester-password',
|
|
|
|
|
'vhost' => '/account.ely.by/tests',
|
|
|
|
|
],
|
2016-08-29 04:47:45 +05:30
|
|
|
|
'security' => [
|
|
|
|
|
// Для тестов нам не сильно важна безопасность, а вот время прохождения тестов значительно сокращается
|
|
|
|
|
'passwordHashCost' => 4,
|
|
|
|
|
],
|
2016-01-02 19:13:18 +05:30
|
|
|
|
],
|
|
|
|
|
];
|