Commit 38df3684 by Klimov Paul

Mongo test config updated.

parent 529af8ed
...@@ -50,7 +50,7 @@ return [ ...@@ -50,7 +50,7 @@ return [
], ],
], ],
'mongo' => [ 'mongo' => [
'dsn' => 'mongodb://localhost:27017', 'dsn' => 'mongodb://travis:test@localhost:27017',
'dbName' => 'yii2test', 'dbName' => 'yii2test',
'options' => [], 'options' => [],
] ]
......
...@@ -15,6 +15,7 @@ class MongoTestCase extends TestCase ...@@ -15,6 +15,7 @@ class MongoTestCase extends TestCase
protected $mongoConfig = [ protected $mongoConfig = [
'dsn' => 'mongodb://localhost:27017', 'dsn' => 'mongodb://localhost:27017',
'defaultDatabaseName' => 'yii2test', 'defaultDatabaseName' => 'yii2test',
'options' => [],
]; ];
/** /**
* @var Connection Mongo connection instance. * @var Connection Mongo connection instance.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment