mirror of
https://github.com/elyby/accounts.git
synced 2025-05-31 14:11:46 +05:30
Rework tests structure. Upgrade codeception to 2.5.3. Merge params configuration into app configuration.
This commit is contained in:
23
common/config/config-test.php
Normal file
23
common/config/config-test.php
Normal file
@@ -0,0 +1,23 @@
|
||||
<?php
|
||||
return [
|
||||
'id' => 'common-tests',
|
||||
'basePath' => dirname(__DIR__),
|
||||
'params' => [
|
||||
'fromEmail' => 'ely@ely.by',
|
||||
],
|
||||
'components' => [
|
||||
'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,
|
||||
],
|
||||
],
|
||||
];
|
Reference in New Issue
Block a user