From 91f2171e85aa803f5b1b1f81283b11300f0e0aef Mon Sep 17 00:00:00 2001 From: Thomas Bruederli Date: Wed, 13 May 2015 17:19:45 +0200 Subject: [PATCH] Use the right properties from rcube_db::parse_dsn() result --- tests/Selenium/bootstrap.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/Selenium/bootstrap.php b/tests/Selenium/bootstrap.php index 8c575718c..cf547dfc1 100644 --- a/tests/Selenium/bootstrap.php +++ b/tests/Selenium/bootstrap.php @@ -78,9 +78,9 @@ class bootstrap system(sprintf('cat %s %s | mysql -h %s -u %s --password=%s %s', realpath(INSTALL_PATH . '/SQL/mysql.initial.sql'), realpath(TESTS_DIR . 'Selenium/data/mysql.sql'), - escapeshellarg($dsn['host']), - escapeshellarg($dsn['user']), - escapeshellarg($dsn['pass']), + escapeshellarg($dsn['hostspec']), + escapeshellarg($dsn['username']), + escapeshellarg($dsn['password']), escapeshellarg($dsn['database']) )); }