mirror of
https://github.com/dg/dibi.git
synced 2025-08-30 01:09:50 +02:00
tests: test() with description
This commit is contained in:
@@ -29,13 +29,11 @@ Assert::exception(function () {
|
||||
}, Dibi\DriverException::class, 'PDO connection in exception or warning error mode is not supported.');
|
||||
|
||||
|
||||
// PDO error mode: explicitly set silent
|
||||
test(function () {
|
||||
test('PDO error mode: explicitly set silent', function () {
|
||||
buildPdoDriver(PDO::ERRMODE_SILENT);
|
||||
});
|
||||
|
||||
|
||||
// PDO error mode: implicitly set silent
|
||||
test(function () {
|
||||
test('PDO error mode: implicitly set silent', function () {
|
||||
buildPdoDriver(null);
|
||||
});
|
||||
|
Reference in New Issue
Block a user