mirror of
https://github.com/elyby/accounts.git
synced 2024-11-06 16:21:08 +05:30
45c2ed601d
Refactor all JWT-related components Replace RS256 with ES256 as a preferred JWT algorithm
30 lines
781 B
PHP
30 lines
781 B
PHP
<?php
|
|
return [
|
|
'id' => 'common-tests',
|
|
'basePath' => dirname(__DIR__),
|
|
'params' => [
|
|
'fromEmail' => 'ely@ely.by',
|
|
],
|
|
'components' => [
|
|
'cache' => [
|
|
'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,
|
|
],
|
|
],
|
|
];
|