Skip to content

Commit be97470

Browse files
committed
Merge branch 'PHP-8.5'
* PHP-8.5: Fix test on 8.4+
2 parents fbac7a3 + 6a572d7 commit be97470

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)