Skip to content

Commit c451a9b

Browse files
committed
Merge branch 'PHP-8.1'
* PHP-8.1: Fix recently broken test case
2 parents b94452c + f768f3d commit c451a9b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/pdo/tests/bug_43663.phpt

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ class test extends PDO{
2323
if (getenv('REDIR_TEST_DIR') === false) putenv('REDIR_TEST_DIR='.__DIR__ . '/../../pdo/tests/');
2424
require_once getenv('REDIR_TEST_DIR') . 'pdo_test.inc';
2525

26-
$a = new test('sqlite::memory:');
26+
$a = PDOTest::factory(test::class);
2727
$a->foo();
2828
$a->bar();
2929
?>

0 commit comments

Comments
 (0)