mirror of
https://github.com/dg/dibi.git
synced 2025-08-11 00:24:19 +02:00
test: fix for PHP 7.3
This commit is contained in:
@@ -17,7 +17,7 @@ $conn->loadFile(__DIR__ . "/data/$config[system].sql");
|
||||
|
||||
$e = Assert::exception(function () use ($conn) {
|
||||
$conn->query('SELECT');
|
||||
}, Dibi\DriverException::class, '%a% syntax error', 1);
|
||||
}, Dibi\DriverException::class, '%a%', 1);
|
||||
|
||||
Assert::same('SELECT', $e->getSql());
|
||||
|
||||
|
Reference in New Issue
Block a user