You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
427 B

<?php
namespace yiiunit\extensions\mongo;
class ConnectionTest extends MongoTestCase
{
public function testConstruct()
{
$connection = $this->getConnection(false);
$params = $this->mongoConfig;
$connection->open();
$this->assertEquals($params['dsn'], $connection->dsn);
//$this->assertEquals($params['username'], $connection->username);
//$this->assertEquals($params['password'], $connection->password);
}
}