config.php 477 B

1234567891011121314151617181920
  1. <?php
  2. /**
  3. * This is the configuration file for the 'yii2-mongodb' unit tests.
  4. * You can override configuration values by creating a `config.local.php` file
  5. * and manipulate the `$config` variable.
  6. */
  7. $config = [
  8. 'mongodb' => [
  9. 'dsn' => 'mongodb://travis:test@localhost:27017/yii2test',
  10. 'options' => [],
  11. 'driverOptions' => [],
  12. ]
  13. ];
  14. if (is_file(__DIR__ . '/config.local.php')) {
  15. include(__DIR__ . '/config.local.php');
  16. }
  17. return $config;