We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c64d939 commit 79c7842Copy full SHA for 79c7842
1 file changed
tests/Pest.php
@@ -10,18 +10,23 @@ function getDatabaseConnection(): array
10
{
11
return [
12
'dbtype' => 'pgsql',
13
- 'port' => '5432',
14
- 'host' => 'ep-autumn-block-a28alwsy.eu-central-1.aws.neon.tech',
15
- 'username' => 'sandbox_owner',
16
- 'password' => 'WH1qpBIf7LYc',
17
- 'dbname' => 'sandbox',
+ 'port' => '6543',
+ 'host' => 'aws-1-eu-west-2.pooler.supabase.com',
+ 'username' => 'postgres.vljhbheaihorcnvlkljw',
+ 'password' => 'DV!GE7Aq6C8F55g',
+ 'dbname' => 'postgres',
18
];
19
}
20
21
function dbInstance(): \Leaf\Db
22
23
$db = new \Leaf\Db();
24
- $db->connect(getDatabaseConnection());
+
25
+ try {
26
+ $db->connect(getDatabaseConnection());
27
+ } catch (\Throwable $th) {
28
+ throw $th;
29
+ }
30
31
return $db;
32
0 commit comments