Commit b9b67144 authored by Marco Pivetta's avatar Marco Pivetta Committed by GitHub

Merge pull request #2592 from mikaelkael/fix/test-notice

Fix a notice during tests if not realized with pgsql
parents 8f0e4973 a89068c6
......@@ -47,7 +47,7 @@ class DriverTest extends AbstractDriverTest
public function getDatabaseParameter()
{
$params = TestUtil::getConnection()->getParams();
$realDatabaseName = $params['dbname'];
$realDatabaseName = isset($params['dbname']) ? $params['dbname'] : '';
$dummyDatabaseName = $realDatabaseName . 'a';
return array(
......
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