1
0
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:
David Grudl
2018-04-17 15:01:30 +02:00
parent 0129d340d3
commit fbdd22de35
3 changed files with 6 additions and 15 deletions

View File

@@ -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'));