diff --git a/tests/cases/Db/PostgreSQL/TestCreation.php b/tests/cases/Db/PostgreSQL/TestCreation.php index 720e32b..cbc7fb2 100644 --- a/tests/cases/Db/PostgreSQL/TestCreation.php +++ b/tests/cases/Db/PostgreSQL/TestCreation.php @@ -65,7 +65,7 @@ class TestCreation extends \JKingWeb\Arsse\Test\AbstractTest { public function testFailToConnect() { // we cannnot distinguish between different connection failure modes self::setConf([ - 'dbPostgreSQLPass' => (string) rand(), + 'dbPostgreSQLHost' => "example.invalid", ]); $this->assertException("connectionFailure", "Db"); new Driver; diff --git a/tests/cases/Db/PostgreSQLPDO/TestCreation.php b/tests/cases/Db/PostgreSQLPDO/TestCreation.php index a9babc1..5e2ad7b 100644 --- a/tests/cases/Db/PostgreSQLPDO/TestCreation.php +++ b/tests/cases/Db/PostgreSQLPDO/TestCreation.php @@ -65,7 +65,7 @@ class TestCreation extends \JKingWeb\Arsse\Test\AbstractTest { public function testFailToConnect() { // PDO dies not distinguish between different connection failure modes self::setConf([ - 'dbPostgreSQLPass' => (string) rand(), + 'dbPostgreSQLHost' => "example.invalid", ]); $this->assertException("connectionFailure", "Db"); new Driver;