Commit 86da882d authored by alexpott's avatar alexpott

Issue #2332071 by sun: Fixed Custom port in run-tests.sh --dburl is not parsed.

parent 7e2ab24b
......@@ -425,6 +425,9 @@ function simpletest_script_setup_database($new = FALSE) {
'default' => $info['fragment'],
),
);
if (isset($info['port'])) {
$databases['default']['default']['port'] = $info['port'];
}
}
// Otherwise, use the default database connection from settings.php.
else {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment