2016-01-02 19:13:18 +05:30
|
|
|
|
<?php
|
|
|
|
|
return [
|
|
|
|
|
'language' => 'en-US',
|
|
|
|
|
'controllerMap' => [
|
|
|
|
|
'fixture' => [
|
2016-09-19 03:31:19 +05:30
|
|
|
|
'class' => yii\faker\FixtureController::class,
|
2016-01-02 19:13:18 +05:30
|
|
|
|
'fixtureDataPath' => '@tests/codeception/common/fixtures/data',
|
|
|
|
|
'templatePath' => '@tests/codeception/common/templates/fixtures',
|
|
|
|
|
'namespace' => 'tests\codeception\common\fixtures',
|
|
|
|
|
],
|
|
|
|
|
],
|
|
|
|
|
'components' => [
|
|
|
|
|
'urlManager' => [
|
|
|
|
|
'showScriptName' => true,
|
|
|
|
|
],
|
2016-08-29 04:47:45 +05:30
|
|
|
|
'security' => [
|
|
|
|
|
// Для тестов нам не сильно важна безопасность, а вот время прохождения тестов значительно сокращается
|
|
|
|
|
'passwordHashCost' => 4,
|
|
|
|
|
],
|
2016-01-02 19:13:18 +05:30
|
|
|
|
],
|
|
|
|
|
];
|