config.php 765 B

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