Skip to content

Commit

Permalink
Fix failing test on nightly
Browse files Browse the repository at this point in the history
  • Loading branch information
kamil-tekiela committed Aug 17, 2023
1 parent dd01c74 commit ffd398b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ext/mysqli/tests/gh8978.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ $mysql = mysqli_init();
mysqli_ssl_set($mysql, 'x509.key', 'x509.pem', 'x509.ca', null, null);
try {
// There should be no warning here, only exception
mysqli_real_connect($mysql, '127.0.0.1:3306', 'username', 'password', null, null, null, MYSQLI_CLIENT_SSL);
mysqli_real_connect($mysql, $host, $user, $passwd, null, $port, null, MYSQLI_CLIENT_SSL);
} catch (mysqli_sql_exception $e) {
echo $e->getMessage()."\n";
}
Expand Down

0 comments on commit ffd398b

Please sign in to comment.