Actually use host in test connection for Postgres
This commit is contained in:
parent
f0704ed35e
commit
ae9dc46a17
@ -44,7 +44,7 @@ class PgTest extends DBTest {
|
||||
else if ($params !== FALSE)
|
||||
{
|
||||
$params = $params->pgsql;
|
||||
self::$db = new $class("pgsql:dbname={$params->database};port=5432", $params->user, $params->pass);
|
||||
self::$db = new $class("pgsql:host={$params->host};dbname={$params->database};port=5432", $params->user, $params->pass);
|
||||
}
|
||||
|
||||
self::$db->set_table_prefix('create_');
|
||||
|
Loading…
Reference in New Issue
Block a user