diff --git a/tests/model/MySQLiDriverTest.php b/tests/model/MySQLiDriverTest.php index b9c9acb..156cdad 100644 --- a/tests/model/MySQLiDriverTest.php +++ b/tests/model/MySQLiDriverTest.php @@ -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()); }