Skip to content

Commit 4e308ab

Browse files
committed
fix test bug62479.phpt
1 parent 0742de5 commit 4e308ab

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ext/pdo_pgsql/tests/bug62479.phpt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ $testQuery = 'SELECT 1 as verification';
3030
// Create temp user with space in password
3131
$sql = sprintf($template, 'my password');
3232
$pdo->query($sql);
33-
$testConn = new PDO($_ENV['PDOTEST_DSN'], $user, "my password");
33+
$testConn = new PDO($conf['ENV']['PDOTEST_DSN'], $user, "my password");
3434
$result = $testConn->query($testQuery)->fetch();
3535
$check = $result[0];
3636
var_dump($check);
@@ -42,7 +42,7 @@ $pdo->query($dropUser);
4242
$sql = sprintf($template, "my pass''word");
4343
$pdo->query($sql);
4444

45-
$testConn = new PDO($_ENV['PDOTEST_DSN'], $user, "my pass'word");
45+
$testConn = new PDO($conf['ENV']['PDOTEST_DSN'], $user, "my pass'word");
4646
$result = $testConn->query($testQuery)->fetch();
4747
$check = $result[0];
4848
var_dump($check);

0 commit comments

Comments
 (0)