Browse Source

Mongo test config updated.

tags/2.0.0-beta
Klimov Paul 11 years ago
parent
commit
38df36840f
  1. 2
      tests/unit/data/config.php
  2. 1
      tests/unit/extensions/mongo/MongoTestCase.php

2
tests/unit/data/config.php

@ -50,7 +50,7 @@ return [
], ],
], ],
'mongo' => [ 'mongo' => [
'dsn' => 'mongodb://localhost:27017', 'dsn' => 'mongodb://travis:test@localhost:27017',
'dbName' => 'yii2test', 'dbName' => 'yii2test',
'options' => [], 'options' => [],
] ]

1
tests/unit/extensions/mongo/MongoTestCase.php

@ -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.

Loading…
Cancel
Save