Skip to content

Commit

Permalink
fix port mariadb
Browse files Browse the repository at this point in the history
  • Loading branch information
rez1dent3 committed Feb 2, 2024
1 parent 039281f commit e2cab71
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions tests/Infra/TestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -63,12 +63,8 @@ final protected function getEnvironmentSetUp($app): void
$config->set('database.connections.testing.prefix', 'tests');
$config->set('database.connections.pgsql.prefix', 'tests');
$config->set('database.connections.mysql.prefix', 'tests');

/** @var array<string, mixed> $mysql */
$mysql = $config->get('database.connections.mysql');
$config->set('database.connections.mariadb', array_merge($mysql, [
'port' => 3307,
]));
$config->set('database.connections.mariadb.prefix', 'tests');
$config->set('database.connections.mariadb.port', 3307);

// new table name's
$config->set('wallet.transaction.table', 'transaction');
Expand Down

0 comments on commit e2cab71

Please sign in to comment.