1
0
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:
David Grudl
2020-08-16 16:10:27 +02:00
parent 0ee4628712
commit 6e41c4223b
4 changed files with 17 additions and 19 deletions

View File

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