accounts/common/config/config-test.php

30 lines
780 B
PHP
Raw Normal View History

<?php
return [
'id' => 'common-tests',
'basePath' => dirname(__DIR__),
'params' => [
'fromEmail' => 'ely@ely.by',
],
'components' => [
'cache' => [
2021-03-04 10:28:07 +05:30
'class' => yii\caching\FileCache::class,
],
'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,
],
'emailsRenderer' => [
'class' => common\tests\_support\EmailsRenderer::class,
],
],
];