2019-02-21 01:28:52 +05:30
|
|
|
<?php
|
|
|
|
return [
|
|
|
|
'id' => 'common-tests',
|
|
|
|
'basePath' => dirname(__DIR__),
|
|
|
|
'params' => [
|
|
|
|
'fromEmail' => 'ely@ely.by',
|
|
|
|
],
|
|
|
|
'components' => [
|
2019-08-01 14:47:12 +05:30
|
|
|
'cache' => [
|
2021-03-04 10:28:07 +05:30
|
|
|
'class' => yii\caching\FileCache::class,
|
2019-08-01 14:47:12 +05:30
|
|
|
],
|
2019-02-21 01:28:52 +05:30
|
|
|
'security' => [
|
|
|
|
// It's allows us to increase tests speed by decreasing password hashing algorithm complexity
|
|
|
|
'passwordHashCost' => 4,
|
|
|
|
],
|
|
|
|
'queue' => [
|
|
|
|
'class' => common\tests\_support\queue\Queue::class,
|
|
|
|
],
|
|
|
|
'sentry' => [
|
|
|
|
'enabled' => false,
|
|
|
|
],
|
|
|
|
'mailer' => [
|
|
|
|
'useFileTransport' => true,
|
|
|
|
],
|
2019-06-17 02:29:19 +05:30
|
|
|
'emailsRenderer' => [
|
|
|
|
'class' => common\tests\_support\EmailsRenderer::class,
|
|
|
|
],
|
2019-02-21 01:28:52 +05:30
|
|
|
],
|
|
|
|
];
|