Blame view

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