You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

config.php 713B

12345678910111213141516171819202122232425
  1. <?php
  2. /**
  3. * Application configuration shared by all applications and test types
  4. */
  5. return [
  6. 'controllerMap' => [
  7. 'fixture' => [
  8. 'class' => 'yii\faker\FixtureController',
  9. 'fixtureDataPath' => '@tests/codeception/common/fixtures/data',
  10. 'templatePath' => '@tests/codeception/common/templates/fixtures',
  11. 'namespace' => 'tests\codeception\common\fixtures',
  12. ],
  13. ],
  14. 'components' => [
  15. 'db' => [
  16. 'dsn' => 'mysql:host=localhost;dbname=yii2_advanced_tests',
  17. ],
  18. 'mailer' => [
  19. 'useFileTransport' => true,
  20. ],
  21. 'urlManager' => [
  22. 'showScriptName' => true,
  23. ],
  24. ],
  25. ];