Skip to content

Commit ffd398b

Browse files
committed
Fix failing test on nightly
1 parent dd01c74 commit ffd398b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/mysqli/tests/gh8978.phpt

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ $mysql = mysqli_init();
1616
mysqli_ssl_set($mysql, 'x509.key', 'x509.pem', 'x509.ca', null, null);
1717
try {
1818
// There should be no warning here, only exception
19-
mysqli_real_connect($mysql, '127.0.0.1:3306', 'username', 'password', null, null, null, MYSQLI_CLIENT_SSL);
19+
mysqli_real_connect($mysql, $host, $user, $passwd, null, $port, null, MYSQLI_CLIENT_SSL);
2020
} catch (mysqli_sql_exception $e) {
2121
echo $e->getMessage()."\n";
2222
}

0 commit comments

Comments
 (0)