Skip to content

Commit 98da583

Browse files
Skip test when PDO extension is not loaded
1 parent f832e1e commit 98da583

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

tests/end-to-end/regression/5965.phpt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
--TEST--
22
https://github.com/sebastianbergmann/phpunit/issues/5965
3+
--SKIPIF--
4+
<?php declare(strict_types=1);
5+
if (!extension_loaded('pdo')) {
6+
print 'skip: Extension PDO must be loaded.';
7+
}
38
--FILE--
49
<?php declare(strict_types=1);
510
$_SERVER['argv'][] = '--do-not-cache-result';

0 commit comments

Comments
 (0)