|
@ -89,8 +89,8 @@ class MySQLiDriverTest extends PHPUnit_Extensions_Database_TestCase |
|
|
define('DEBUG', false); |
|
|
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()); |
|
|
$this->assertNull('mysqli', $driver->getConnection()); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|