modified DB connection settings

This commit is contained in:
Anton Grebnev
2011-11-08 12:01:07 +04:00
parent c6311b8b20
commit 9a0a283470

View File

@ -89,8 +89,8 @@ class MySQLiDriverTest extends PHPUnit_Extensions_Database_TestCase
define('DEBUG', false);
}
$conf = array('hostname' => 'localhost', 'database' => 'nodb', 'username' => 'root', 'password' => '1234');
$driver = new MySQLiDriver($conf);
$this->conf['database'] = 'nodb';
$driver = new MySQLiDriver($this->conf);
$this->assertNull('mysqli', $driver->getConnection());
}