config.php 703 B

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