unit.php 318 B

123456789101112131415
  1. <?php
  2. // configuration adjustments for codeception unit tests. Will be merged with web.php config.
  3. return [
  4. 'components' => [
  5. 'fixture' => [
  6. 'class' => 'yii\test\DbFixtureManager',
  7. 'basePath' => '@tests/unit/fixtures',
  8. ],
  9. 'db' => [
  10. 'dsn' => 'mysql:host=localhost;dbname=yii2basic_unit',
  11. ],
  12. ],
  13. ];