mirror of
https://code.mensbeam.com/MensBeam/Arsse.git
synced 2025-01-03 14:32:40 +00:00
Fix PostgreSQL tests when using "trust" authentication
This commit is contained in:
parent
cf5c08459f
commit
cb1039326c
2 changed files with 2 additions and 2 deletions
|
@ -65,7 +65,7 @@ class TestCreation extends \JKingWeb\Arsse\Test\AbstractTest {
|
||||||
public function testFailToConnect() {
|
public function testFailToConnect() {
|
||||||
// we cannnot distinguish between different connection failure modes
|
// we cannnot distinguish between different connection failure modes
|
||||||
self::setConf([
|
self::setConf([
|
||||||
'dbPostgreSQLPass' => (string) rand(),
|
'dbPostgreSQLHost' => "example.invalid",
|
||||||
]);
|
]);
|
||||||
$this->assertException("connectionFailure", "Db");
|
$this->assertException("connectionFailure", "Db");
|
||||||
new Driver;
|
new Driver;
|
||||||
|
|
|
@ -65,7 +65,7 @@ class TestCreation extends \JKingWeb\Arsse\Test\AbstractTest {
|
||||||
public function testFailToConnect() {
|
public function testFailToConnect() {
|
||||||
// PDO dies not distinguish between different connection failure modes
|
// PDO dies not distinguish between different connection failure modes
|
||||||
self::setConf([
|
self::setConf([
|
||||||
'dbPostgreSQLPass' => (string) rand(),
|
'dbPostgreSQLHost' => "example.invalid",
|
||||||
]);
|
]);
|
||||||
$this->assertException("connectionFailure", "Db");
|
$this->assertException("connectionFailure", "Db");
|
||||||
new Driver;
|
new Driver;
|
||||||
|
|
Loading…
Reference in a new issue