1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2026-02-05 09:34:05 +00:00

Make postgres work in tests

This commit is contained in:
lukinovec 2023-04-25 12:33:56 +02:00
parent ae25e25715
commit e4aeccb2b0
2 changed files with 11 additions and 7 deletions

View file

@ -88,10 +88,10 @@ abstract class TestCase extends \Orchestra\Testbench\TestCase
'driver' => 'pgsql',
'url' => env('DATABASE_URL'),
'host' => 'postgres',
'port' => env('DB_PORT', '5433'),
'port' => '5434',
'database' => 'main',
'username' => env('DB_USERNAME', 'forge'),
'password' => env('DB_PASSWORD', ''),
'username' => 'postgres',
'password' => 'postgres',
'charset' => 'utf8',
'prefix' => '',
'prefix_indexes' => true,