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' => [
'dsn' => 'mongodb://localhost:27017',
'dsn' => 'mongodb://travis:test@localhost:27017',
'dbName' => 'yii2test',
'options' => [],
]

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

@ -15,6 +15,7 @@ class MongoTestCase extends TestCase
protected $mongoConfig = [
'dsn' => 'mongodb://localhost:27017',
'defaultDatabaseName' => 'yii2test',
'options' => [],
];
/**
* @var Connection Mongo connection instance.

Loading…
Cancel
Save