summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRasmus Lerdorf <rasmus@php.net>2012-12-13 16:41:56 -0800
committerRasmus Lerdorf <rasmus@php.net>2012-12-13 16:41:56 -0800
commit9d1bc1b622f1c28a55fe4dc4e87e111aff6ed8b8 (patch)
treea4752c951e5d22564a46512ce7759876227e4602
parenteecdb4c254bafe5fc53b1e06055482944cd3560f (diff)
downloadphp-git-9d1bc1b622f1c28a55fe4dc4e87e111aff6ed8b8.tar.gz
Fix broken test
Need to use the configured connection parameters here. We can't assume the test user has access.
-rw-r--r--ext/mysqli/tests/bug63398.phpt2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/mysqli/tests/bug63398.phpt b/ext/mysqli/tests/bug63398.phpt
index 6dffa8c1f6..26d00c9420 100644
--- a/ext/mysqli/tests/bug63398.phpt
+++ b/ext/mysqli/tests/bug63398.phpt
@@ -10,7 +10,7 @@ if (!$IS_MYSQLND) {
?>
--FILE--
<?php
-$link = new mysqli('localhost', 'test', NULL, 'test');
+$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket);
mysqli_close($link);