From ae9dc46a178ebc75e7db15d1dc71072c1817fba2 Mon Sep 17 00:00:00 2001 From: Timothy J Warren Date: Tue, 19 Jul 2016 11:53:37 -0400 Subject: [PATCH] Actually use host in test connection for Postgres --- tests/databases/pgsql/PgSQLTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/databases/pgsql/PgSQLTest.php b/tests/databases/pgsql/PgSQLTest.php index 6fd1a2b..5f854c6 100644 --- a/tests/databases/pgsql/PgSQLTest.php +++ b/tests/databases/pgsql/PgSQLTest.php @@ -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_');