Skip to content

Commit 6a572d7

Browse files
committed
Merge branch 'PHP-8.4' into PHP-8.5
* PHP-8.4: Fix test on 8.4+
2 parents 02bd332 + 1570f6a commit 6a572d7

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

ext/pdo_mysql/tests/gh20122.phpt

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,13 @@ pdo
55
pdo_mysql
66
--SKIPIF--
77
<?php
8-
require __DIR__ . '/config.inc';
9-
require __DIR__ . '/../../../ext/pdo/tests/pdo_test.inc';
10-
PDOTest::skip();
8+
require_once __DIR__ . '/inc/mysql_pdo_test.inc';
9+
MySQLPDOTest::skip();
1110
?>
1211
--FILE--
1312
<?php
14-
require __DIR__ . '/config.inc';
15-
require __DIR__ . '/../../../ext/pdo/tests/pdo_test.inc';
16-
$db = PDOTest::test_factory(__DIR__ . '/common.phpt');
13+
require_once __DIR__ . '/inc/mysql_pdo_test.inc';
14+
$pdo = MySQLPDOTest::factory();
1715

1816
$db->exec('CREATE TABLE test (bar JSON)');
1917
$db->exec('INSERT INTO test VALUES("[]")');

0 commit comments

Comments
 (0)