1234567891011121314151617181920 |
- <?php
- /**
- * This is the configuration file for the 'yii2-mongodb' unit tests.
- * You can override configuration values by creating a `config.local.php` file
- * and manipulate the `$config` variable.
- */
- $config = [
- 'mongodb' => [
- 'dsn' => 'mongodb://travis:test@localhost:27017/yii2test',
- 'options' => [],
- 'driverOptions' => [],
- ]
- ];
- if (is_file(__DIR__ . '/config.local.php')) {
- include(__DIR__ . '/config.local.php');
- }
- return $config;
|