functional.php 340 B

1234567891011121314151617
  1. <?php
  2. // configuration adjustments for codeception functional tests. Will be merged with web.php config.
  3. return [
  4. 'components' => [
  5. 'db' => [
  6. 'dsn' => 'mysql:host=localhost;dbname=yii2basic_functional',
  7. ],
  8. 'request' => [
  9. 'enableCsrfValidation' => false,
  10. ],
  11. 'urlManager' => [
  12. 'baseUrl' => '/web/index.php',
  13. ],
  14. ],
  15. ];