Skip to content

Commit cb3240d

Browse files
committed
Fix bootstrap path in FROM_BASE64 diagnostic
1 parent d3fa66f commit cb3240d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/phpunit-tests-turso.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -775,9 +775,9 @@ jobs:
775775
// 5) Reproduce the actual testFromBase64Function setup exactly: run
776776
// setUp-style driver construction and then call FROM_BASE64.
777777
try {
778+
require getcwd() . '/tests/bootstrap.php';
778779
$pdo2 = new PDO\SQLite('sqlite::memory:');
779780
$pdo2->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION);
780-
require __DIR__ . '/tests/bootstrap.php';
781781
$engine = new WP_SQLite_Driver(new WP_SQLite_Connection(['pdo' => $pdo2]), 'wp');
782782
$log('[f] driver constructed');
783783
$r = $engine->query("SELECT FROM_BASE64('SGVsbG8gV29ybGQ=') AS decoded");

0 commit comments

Comments
 (0)