mirror of
https://github.com/dg/dibi.git
synced 2025-08-11 16:44:30 +02:00
Connection::__construct() parameter config should be array (BC break)
This commit is contained in:
@@ -30,8 +30,8 @@ test(function () use ($config) { // lazy
|
||||
});
|
||||
|
||||
|
||||
test(function () use ($config) { // query string
|
||||
$conn = new Connection(http_build_query($config, '', '&'));
|
||||
test(function () use ($config) {
|
||||
$conn = new Connection($config);
|
||||
Assert::true($conn->isConnected());
|
||||
|
||||
Assert::null($conn->getConfig('lazy'));
|
||||
|
Reference in New Issue
Block a user