From 9a0a2834702b44c39974197e619dd45793711283 Mon Sep 17 00:00:00 2001 From: Anton Grebnev Date: Tue, 8 Nov 2011 12:01:07 +0400 Subject: [PATCH] modified DB connection settings --- tests/model/MySQLiDriverTest.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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()); }