From 91f2171e85aa803f5b1b1f81283b11300f0e0aef Mon Sep 17 00:00:00 2001 From: Thomas Bruederli <thomas@roundcube.net> Date: Wed, 13 May 2015 11:19:45 -0400 Subject: [PATCH] Use the right properties from rcube_db::parse_dsn() result --- tests/Selenium/bootstrap.php | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/Selenium/bootstrap.php b/tests/Selenium/bootstrap.php index 8c57571..cf547df 100644 --- a/tests/Selenium/bootstrap.php +++ b/tests/Selenium/bootstrap.php @@ -78,9 +78,9 @@ 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']) )); } -- Gitblit v1.9.1