2016-01-02 16:43:18 +03:00
|
|
|
|
<?php
|
|
|
|
|
return [
|
|
|
|
|
'language' => 'en-US',
|
|
|
|
|
'controllerMap' => [
|
|
|
|
|
'fixture' => [
|
2016-09-19 01:01:19 +03:00
|
|
|
|
'class' => yii\faker\FixtureController::class,
|
2016-01-02 16:43:18 +03:00
|
|
|
|
'fixtureDataPath' => '@tests/codeception/common/fixtures/data',
|
|
|
|
|
'templatePath' => '@tests/codeception/common/templates/fixtures',
|
|
|
|
|
'namespace' => 'tests\codeception\common\fixtures',
|
|
|
|
|
],
|
|
|
|
|
],
|
|
|
|
|
'components' => [
|
|
|
|
|
'urlManager' => [
|
|
|
|
|
'showScriptName' => true,
|
|
|
|
|
],
|
2016-08-29 02:17:45 +03:00
|
|
|
|
'security' => [
|
|
|
|
|
// Для тестов нам не сильно важна безопасность, а вот время прохождения тестов значительно сокращается
|
|
|
|
|
'passwordHashCost' => 4,
|
|
|
|
|
],
|
2016-12-07 00:53:38 +03:00
|
|
|
|
'amqp' => [
|
|
|
|
|
'class' => tests\codeception\common\_support\amqp\TestComponent::class,
|
|
|
|
|
],
|
2016-12-02 00:23:40 +03:00
|
|
|
|
'sentry' => [
|
|
|
|
|
'enabled' => false,
|
|
|
|
|
],
|
2016-01-02 16:43:18 +03:00
|
|
|
|
],
|
|
|
|
|
];
|